diff options
| -rw-r--r-- | lib/python/Screens/Screen.py | 3 | ||||
| -rw-r--r-- | mytest.py | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/Screens/Screen.py b/lib/python/Screens/Screen.py index 08e0baa9..3c635831 100644 --- a/lib/python/Screens/Screen.py +++ b/lib/python/Screens/Screen.py @@ -63,6 +63,9 @@ class Screen(dict, HTMLSkin, GUISkin): del self.session for (name, val) in self.items(): del self[name] + + # really delete all elements now + self.__dict__.clear() def close(self, *retval): self.session.close(*retval) @@ -75,8 +75,6 @@ class Session: if self.currentDialog.isTmp: self.currentDialog.doClose() - - del self.currentDialog.instance # dump(self.currentDialog) del self.currentDialog else: @@ -121,6 +119,9 @@ class Session: quitMainloop(5) print '-'*60 + if dlg is None: + return + # read skin data readSkin(dlg, None, dlg.skinName, self.desktop) |
