Commit 0c2b18ab authored by Jack Jansen's avatar Jack Jansen

Break circular reference on menus upon cleanup

parent f5cfcd91
......@@ -446,6 +446,7 @@ class MenuBar:
def close(self):
self.parent = None
self.bar = None
self.menus = None
def addmenu(self, title, after = 0):
id = self.getnextid()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment