]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Close debugger when closing. This may break a cycle.
authorGuido van Rossum <guido@python.org>
Fri, 25 Jun 1999 17:26:34 +0000 (17:26 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 25 Jun 1999 17:26:34 +0000 (17:26 +0000)
Tools/idle/PyShell.py

index 90f9b2c58587a19c1b8f66fe2a555b635ba1dd07..8c93f4daf0e9511b294c138902bce791a68be891 100644 (file)
@@ -390,6 +390,7 @@ class PyShell(OutputWindow):
         return PyShellEditorWindow.close(self)
 
     def _close(self):
+        self.close_debugger()
         # Restore std streams
         sys.stdout = self.save_stdout
         sys.stderr = self.save_stderr