aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/Screen.py3
1 files changed, 3 insertions, 0 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)