]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Break cycle on close.
authorGuido van Rossum <guido@python.org>
Fri, 25 Jun 1999 17:25:22 +0000 (17:25 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 25 Jun 1999 17:25:22 +0000 (17:25 +0000)
Tools/idle/Debugger.py

index b085a1d6a32f6bac58c678e88bc13add8402d9db..267d39f4c2e51fd9634e9f9436017d3791eaaef2 100644 (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()