Skip to content Skip to sidebar Skip to footer

Twisted + Gtk - Shutdown Not Working Properly

Using Python 2.6, Twisted 10.1, and GTK+ 2.22, with latest pygtk installed, I'm having problems on shutdown. When I close my application and shut down the reactor (using the gtk2re

Solution 1:

As from this question it seems to come from importing the win32ui module. But I think the underlying problem is deeper..

EDIT: Seems to be a problem with my particular install of Windows 7 and whatever else is here.

Solution 2:

Threads, perhaps? The Twisted reactor joins all threads on shutdown, and if you're doing something in a callInThread that hangs, your loop may be unable to stop. (I'm not sure what the behavior would be if you're starting your own threads, either.)

Post a Comment for "Twisted + Gtk - Shutdown Not Working Properly"