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/MenuList.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/python/Components/MenuList.py') diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py index 876300bd..dbdf00a4 100644 --- a/lib/python/Components/MenuList.py +++ b/lib/python/Components/MenuList.py @@ -25,6 +25,7 @@ class MenuList(HTMLComponent, GUIComponent): def preWidgetRemove(self, instance): instance.setContent(None) + instance.selectionChanged.get().remove(self.selectionChanged) def selectionChanged(self): for f in self.onSelectionChanged: -- cgit v1.2.3