diff options
Diffstat (limited to 'lib/python/Screens/Screen.py')
| -rw-r--r-- | lib/python/Screens/Screen.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Screens/Screen.py b/lib/python/Screens/Screen.py index bbc6b1ec..5f1cf6d6 100644 --- a/lib/python/Screens/Screen.py +++ b/lib/python/Screens/Screen.py @@ -64,6 +64,13 @@ class Screen(dict, HTMLSkin, GUISkin): # fixup circular references del self.helpList GUISkin.close(self) + + # first disconnect all render from their sources. + # we might split this out into a "unskin"-call, + # but currently we destroy the screen afterwards + # anyway. + for val in self.renderer: + val.disconnectAll() # disconnected converter/sources and probably destroy them del self.session for (name, val) in self.items(): |
