Fixing the window switching bug on Maemo
[watersofshiloah] / src / util / go_utils.py
index ccfc78a..d066542 100644 (file)
@@ -264,6 +264,7 @@ class AutoSignal(object):
 
        @misc.log_exception(_moduleLogger)
        def __on_destroy(self, widget):
+               _moduleLogger.info("Destroy: %r (%s to clean up)" % (self, len(self.__disconnectPool)))
                for widget, id in self.__disconnectPool:
                        widget.disconnect(id)
                del self.__disconnectPool[:]