GNOME Bugzilla – Bug 696720
StIcon: use g_signal_connect_object() for safety
Last modified: 2013-05-30 17:55:47 UTC
I've seen the shell crash at least once in StIcon. While I suspect unrelated memory corruption, this looks useful anyway.
Created attachment 239975 [details] [review] StIcon: use g_signal_connect_object() for safety Prevent a crash in case an icon is destroyed before the texture finishes loading, and something else is keeping the texture alive for any reason.
https://bugzilla.gnome.org/show_bug.cgi?id=694755#c5 related?
Yep, seems the same crash I got, although I wouldn't bet anything worth that this patch helps for real...
Review of attachment 239975 [details] [review]: OK this seems to indeed "fix" bug 694755 , and even if it doesn't it does not hurt. Seems like a candidate for the 3.8 branch as well.
Attachment 239975 [details] pushed as ef9c50e - StIcon: use g_signal_connect_object() for safety