Break cycle on close.

This commit is contained in:
Guido van Rossum 1999-06-25 17:25:22 +00:00
parent 5af0df528d
commit ba5a59c834
1 changed files with 2 additions and 0 deletions

View File

@ -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()