mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
Break circular reference on menus upon cleanup
This commit is contained in:
parent
64da169f43
commit
7b56aad2e1
1 changed files with 1 additions and 0 deletions
|
|
@ -446,6 +446,7 @@ def __init__(self, parent=None):
|
|||
def close(self):
|
||||
self.parent = None
|
||||
self.bar = None
|
||||
self.menus = None
|
||||
|
||||
def addmenu(self, title, after = 0):
|
||||
id = self.getnextid()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue