Hi,
Yes, I tried the code below with no luck.
The OnClose() event calls this:
def KillSock():
 if wxreactor.WxReactor.callFromThread is not None:
    oldStop = wxreactor.WxReactor.stop
    def stopFromThread(self):
        reactor.callFromThread(oldStop)
    wxreactor.WxReactor.stop = stopFromThread
 reactor.stop()

When I ran this code in gdb, it did not say the two threads exited like they 
should do.

Thank you.
-Ryan
> -----Original Message-----
> From: [email protected]
> Sent: Sat, 13 Nov 2010 23:21:42 -0500
> To: [email protected]
> Subject: Re: [Twisted-Python] wxReactor Issues
> 
> On Sat, 2010-11-13 at 19:56 -0800, RSGames Support wrote:
>> if wxreactor.WxReactor.callFromThread is not None:
>>     oldStop = wxreactor.WxReactor.stop
>>     def stopFromThread(self):
>>         reactor.callFromThread(oldStop)
>>     wxreactor.WxReactor.stop = stopFromThread
> 
> Did you try the patch?

____________________________________________________________
Send any screenshot to your friends in seconds...
Works in all emails, instant messengers, blogs, forums and social networks.
TRY IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if2 for FREE

_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to