From ba5a59c8342e4fa4692b21dbeb04d587f518feb0 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 25 Jun 1999 17:25:22 +0000 Subject: Break cycle on close. --- Tools/idle/Debugger.py | 2 ++ 1 file changed, 2 insertions(+) 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() -- cgit v0.12