[Twisted-Python] Non-terminating Process using gtkreactor2

Moe Aboulkheir moe at divmod.com
Fri Dec 2 10:16:35 EST 2005

On Fri, 02 Dec 2005 10:07:17 +0000, Doug Winter <doug at isotoma.com> wrote:
>I have a GTK program using twisted 2.1.0 and python 2.4.  On both Linux and 
>Windows the program reliably fails to terminate after calling 
>gtk.main_quit() and reactor.stop().  It just sits there.  All the windows 
>close, but the process remains running.

AFAICT the twisted example pbgtk2.py seems to do the wrong thing here, and it too freezes up when the destroy handler of the login window is called.  if you call reactor.stop(), rather than gtk.main_quit() (assuming the gtk2reactor is installed) then your program will terminate normally.

More information about the Twisted-Python mailing list