GNOME Bugzilla – Bug 649517
Change 'debugexit' to quit main loop rather than exit(), add cleanup
Last modified: 2011-05-19 19:37:20 UTC
A new envrionment variable GNOME_SHELL_ENABLE_CLEANUP is added which causes us to attempt freeing global data. The reason this isn't enabled by default is that it's a waste of time at best, and at worst in corner cases could cause crashes which would fill up crash databases. Better to leave it as a developer-only tool. Start stubbing out some cleanup in ShellGlobal.
Created attachment 187325 [details] [review] Change 'debugexit' to quit main loop rather than exit(), add cleanup
Comment on attachment 187325 [details] [review] Change 'debugexit' to quit main loop rather than exit(), add cleanup ok
Honestly this is sort of unfinished; the goal is to make valgrind useful obviously, but we have a lot more to do there. On the other hand it's not harmful. So if you think it's OK I'll put it in.
Attachment 187325 [details] pushed as a8baf4a - Change 'debugexit' to quit main loop rather than exit(), add cleanup