diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-02-20 15:51:39 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-02-20 15:51:39 (GMT) |
commit | 7b56aad2e10421cb59b6f80e0ebe96e9cfe30576 (patch) | |
tree | 995ce32ac402a870c9ee41d97858af9970814e33 /Mac/Lib | |
parent | 64da169f43a3338d90a24e8a1b6042e7cfa75d65 (diff) | |
download | cpython-7b56aad2e10421cb59b6f80e0ebe96e9cfe30576.zip cpython-7b56aad2e10421cb59b6f80e0ebe96e9cfe30576.tar.gz cpython-7b56aad2e10421cb59b6f80e0ebe96e9cfe30576.tar.bz2 |
Break circular reference on menus upon cleanup
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/FrameWork.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py index fc643e4..c002b1f 100644 --- a/Mac/Lib/FrameWork.py +++ b/Mac/Lib/FrameWork.py @@ -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() |