GNOME Bugzilla – Bug 697295
modalDialog: Destroy dialogs on close
Last modified: 2013-04-05 03:16:04 UTC
See patches for details. I don't know how this one got as far as it did.
Created attachment 240652 [details] [review] modalDialog: Destroy dialogs on close It turns out that we never destroyed modal dialogs when closing them, causing them to still linger in the scene graph even when there were no references to them in the JS. The one case where we don't want to destroy modal dialogs after being closed is endSessionDialog, so provide a parameter that allows classes to override this behavior.
Created attachment 240653 [details] [review] shellEntry: Destroy entry menus when the entry actors are destroyed This ensures that a menu and manager aren't sticking around.
Review of attachment 240652 [details] [review]: Good catch.
Review of attachment 240653 [details] [review]: Looks good.
FWIW as those fix leaks I'd say we should get them into 3.8.1
Attachment 240652 [details] pushed as 3dd6113 - modalDialog: Destroy dialogs on close Attachment 240653 [details] pushed as 14189e6 - shellEntry: Destroy entry menus when the entry actors are destroyed I'm going to assume this is an important enough leak to add to 3.8.1, according to drago01. Please revert and reopen if it's not the case.