diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-02-14 20:40:05 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-02-14 20:40:05 +0000 |
| commit | 8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f (patch) | |
| tree | c382ddc39fdc759befd9e281bcc011e1dd579e9d /lib/python/Components/MovieList.py | |
| parent | 6f73e6abddf4170357c490966d0e1c622eb376f5 (diff) | |
| download | enigma2-8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f.tar.gz enigma2-8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f.zip | |
unlink some cyclic dependencys to get garbage collection working
Diffstat (limited to 'lib/python/Components/MovieList.py')
| -rw-r--r-- | lib/python/Components/MovieList.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py index 6a264098..07dd1152 100644 --- a/lib/python/Components/MovieList.py +++ b/lib/python/Components/MovieList.py @@ -153,6 +153,10 @@ class MovieList(GUIComponent): instance.setContent(self.l) instance.selectionChanged.get().append(self.selectionChanged) + def preWidgetRemove(self, instance): + instance.setContent(None) + instance.selectionChanged.get().remove(self.selectionChanged) + def reload(self, root = None, filter_tags = None): if root is not None: self.load(root, filter_tags) |
