From 8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 14 Feb 2008 20:40:05 +0000 Subject: unlink some cyclic dependencys to get garbage collection working --- lib/python/Components/ServiceList.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/python/Components/ServiceList.py') diff --git a/lib/python/Components/ServiceList.py b/lib/python/Components/ServiceList.py index e39b1d02..2ed32647 100644 --- a/lib/python/Components/ServiceList.py +++ b/lib/python/Components/ServiceList.py @@ -131,6 +131,10 @@ class ServiceList(HTMLComponent, GUIComponent): instance.selectionChanged.get().append(self.selectionChanged) self.setMode(self.mode) + def preWidgetRemove(self, instance): + instance.setContent(None) + instance.selectionChanged.get().remove(self.selectionChanged) + def getRoot(self): return self.root -- cgit v1.2.3