mirror of https://github.com/python/cpython.git
Break circular reference on menus upon cleanup
This commit is contained in:
parent
64da169f43
commit
7b56aad2e1
|
@ -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…
Reference in New Issue