mirror of https://github.com/python/cpython
Break cycle on close.
This commit is contained in:
parent
5af0df528d
commit
ba5a59c834
|
@ -26,6 +26,8 @@ class Debugger(bdb.Bdb):
|
|||
if self.interacting:
|
||||
self.top.bell()
|
||||
return
|
||||
if self.stackviewer:
|
||||
self.stackviewer.close(); self.stackviewer = None
|
||||
self.pyshell.close_debugger()
|
||||
self.top.destroy()
|
||||
|
||||
|
|
Loading…
Reference in New Issue