diff options
author | Guido van Rossum <guido@python.org> | 1999-06-25 17:26:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-25 17:26:34 (GMT) |
commit | 16e0bab4ab3e153b082158558a70af22651ac942 (patch) | |
tree | 40ff0d2fbfa3dc1936bd873b162819dcde0e7fe5 /Tools | |
parent | ba5a59c8342e4fa4692b21dbeb04d587f518feb0 (diff) | |
download | cpython-16e0bab4ab3e153b082158558a70af22651ac942.zip cpython-16e0bab4ab3e153b082158558a70af22651ac942.tar.gz cpython-16e0bab4ab3e153b082158558a70af22651ac942.tar.bz2 |
Close debugger when closing. This may break a cycle.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/idle/PyShell.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/idle/PyShell.py b/Tools/idle/PyShell.py index 90f9b2c..8c93f4d 100644 --- a/Tools/idle/PyShell.py +++ b/Tools/idle/PyShell.py @@ -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 |