summaryrefslogtreecommitdiffstats
path: root/Tools/idle/PyShell.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-06-25 17:26:34 (GMT)
committerGuido van Rossum <guido@python.org>1999-06-25 17:26:34 (GMT)
commit16e0bab4ab3e153b082158558a70af22651ac942 (patch)
tree40ff0d2fbfa3dc1936bd873b162819dcde0e7fe5 /Tools/idle/PyShell.py
parentba5a59c8342e4fa4692b21dbeb04d587f518feb0 (diff)
downloadcpython-16e0bab4ab3e153b082158558a70af22651ac942.zip
cpython-16e0bab4ab3e153b082158558a70af22651ac942.tar.gz
cpython-16e0bab4ab3e153b082158558a70af22651ac942.tar.bz2
Close debugger when closing. This may break a cycle.
Diffstat (limited to 'Tools/idle/PyShell.py')
-rw-r--r--Tools/idle/PyShell.py1
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