[Bug 734716] bus: signal watched added in a new thread-default context can't be removed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 13 04:35:49 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734716
  GStreamer | gstreamer (core) | git

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |slomo at coaxion.net
     Ever Confirmed|0                           |1

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-08-13 11:35:43 UTC ---
(In reply to comment #0)

> I think the solution would be to get the thread-default context in
> _remove_signal_watch(), look for the source in that context and destroy it.
> I'll post a patch :)

No, you'll have to remember the main context that was the default when the
watch was added :) To get around this I just called g_source_destroy() in the
past.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list