[Twisted-Python] Non-terminating Process using gtkreactor2

Doug Winter doug at isotoma.com
Fri Dec 2 13:32:14 EST 2005

Moe Aboulkheir wrote:
> 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.

Great, that's fixed it.  Thanks!


doug at isotoma.com   / Isotoma, Open Source Software Consulting
Tel: 020 7620 1446 / Mobile: 07879 423002 / Fax: 020 79006980
Skype: dougwinter  / http://www.isotoma.com
Lincoln House, 75 Westminster Bridge Road, London, SE1 7HS

More information about the Twisted-Python mailing list