GNOME Bugzilla – Bug 750461
Return with G_SOURCE_REMOVE
Last modified: 2015-06-06 12:26:02 UTC
After freeing the callback it would probably be better to return G_SOURCE_REMOVE which is a macro return value of a GSourceFunc.[1] G_SOURCE_REMOVE is false to remove the GSource from the main loop. [1] https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#G-SOURCE-REMOVE:CAPS
Created attachment 304660 [details] [review] Patch to address problem