[Idle-dev] Slow close?

Stephen M. Gava elguavas@users.sourceforge.net
25 Feb 2002 16:11:27 +1100


> Well there's a general vague similarity in the fact that both the grail
> windows you're talking about and the EditorWindow instances in idle are
> doing something non-trivial which may involve waiting to destroy objects
> at close time. Other minor windows in idle close instantly as expected.

In fact if you insert:

self.top.quit()
return

at the top of the close() method in EditorWindow, the window closes
straight away, which indicates that it's something in all the cleaning
up that would normally happen after this that is causing the pause.

Stephen.
-- 
Stephen M. Gava  <elguavas@users.sourceforge.net>
IDLEfork ( http://idlefork.sourceforge.net )  " just like IDLE, only
crunchy "