diff options
author | Guido van Rossum <guido@python.org> | 1999-06-25 17:25:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-25 17:25:22 (GMT) |
commit | ba5a59c8342e4fa4692b21dbeb04d587f518feb0 (patch) | |
tree | 32e3842bd6ace9fff03ebb2822702f8974b90f2b /Tools | |
parent | 5af0df528d717ca4b60edfeab5174dece7fe22eb (diff) | |
download | cpython-ba5a59c8342e4fa4692b21dbeb04d587f518feb0.zip cpython-ba5a59c8342e4fa4692b21dbeb04d587f518feb0.tar.gz cpython-ba5a59c8342e4fa4692b21dbeb04d587f518feb0.tar.bz2 |
Break cycle on close.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/idle/Debugger.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/idle/Debugger.py b/Tools/idle/Debugger.py index b085a1d..267d39f 100644 --- a/Tools/idle/Debugger.py +++ b/Tools/idle/Debugger.py @@ -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() |