GNOME Bugzilla – Bug 787367
parsebin: Emit 'drained' only for the top-level chain
Last modified: 2017-11-10 09:06:31 UTC
See patch
Created attachment 359276 [details] [review] parsebin: Emit 'drained' only for the top-level chain Instead of emitting 'drained' whenever every single chain is drained (which would result in plenty of signal emission, and would also occur when switching groups), only emit it when the top-level chain is drained. Furthermore, mark unknown (and therefore unexposed) pads as drained since we'll never get EOS on them.
Comment on attachment 359276 [details] [review] parsebin: Emit 'drained' only for the top-level chain commit 92e88768443a21eab5d2dd6bc7a318c9b46e54f8 (HEAD -> master, origin/master, origin/HEAD) Author: Edward Hervey <edward@centricular.com> Date: Wed Sep 6 16:50:31 2017 +0200 parsebin: Emit 'drained' only for the top-level chain Instead of emitting 'drained' whenever every single chain is drained (which would result in plenty of signal emission, and would also occur when switching groups), only emit it when the top-level chain is drained. Furthermore, mark unknown (and therefore unexposed) pads as drained since we'll never get EOS on them. https://bugzilla.gnome.org/show_bug.cgi?id=787367