minor cleanup, avoiding rare traceback (jvr)
This commit is contained in:
parent
532998e00d
commit
cee9a48ea8
|
@ -91,7 +91,7 @@ class Debugger(bdb.Bdb):
|
|||
self.set_quit()
|
||||
self.clear_tracefuncs()
|
||||
self.continuewithoutdebugger = 1
|
||||
if self.w.parent:
|
||||
if hasattr(self, "w") and self.w.parent:
|
||||
self.exit_mainloop()
|
||||
self.resetwidgets()
|
||||
|
||||
|
|
Loading…
Reference in New Issue