summaryrefslogtreecommitdiffstats
path: root/Tools/idle/Debugger.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/idle/Debugger.py')
-rw-r--r--Tools/idle/Debugger.py2
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()