GNOME Bugzilla – Bug 683522
Avoid critical if returning to collection view early
Last modified: 2016-03-31 14:02:40 UTC
If you go back to the collection view really fast, before the zoom from CREDS to DISPLAY is done you get a: (gnome-boxes:32269): Boxes-CRITICAL **: boxes_display_get_display: assertion `self != NULL' failed Because the timeout set up to switch to display mode after the animation is not cleaned up.
Created attachment 223681 [details] [review] Fix critical error when exiting display mode early If you go back to the collection view really fast, before the zoom from CREDS to DISPLAY is finished you get an critical: (gnome-boxes:32269): Boxes-CRITICAL **: boxes_display_get_display: assertion `self != NULL' failed This is because the timeout set up to switch to display mode after the animation is not cleaned up. Fix this by removing the timeout when disconnecting the show signal handler.
Review of attachment 223681 [details] [review]: ack
Attachment 223681 [details] pushed as f4505d6 - Fix critical error when exiting display mode early