After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 598329 - Only clean up the rfkill monitoring if it has actually been set up
Only clean up the rfkill monitoring if it has actually been set up
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-10-13 20:40 UTC by Joshua Lock
Modified: 2009-10-14 11:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Only clean up the rfkill monitoring if it has actually been set up (1.25 KB, patch)
2009-10-13 20:40 UTC, Joshua Lock
committed Details | Review

Description Joshua Lock 2009-10-13 20:40:39 UTC
If the rfkill monitoring is never set up the cleanup code results in
GLib-Critical assertion messages.
Therefore only clean up the monitoring if the watch_id is greater than zero
Comment 1 Joshua Lock 2009-10-13 20:40:42 UTC
Created attachment 145376 [details] [review]
Only clean up the rfkill monitoring if it has actually been set up
Comment 2 Bastien Nocera 2009-10-14 11:11:31 UTC
Attachment 145376 [details] pushed as fae76fe - Only clean up the rfkill monitoring if it has actually been set up