mirror of
https://github.com/python/cpython
synced 2026-09-29 08:45:29 +03:00
Break cycle on close.
This commit is contained in:
parent
5af0df528d
commit
ba5a59c834
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue