[Twisted-Python] reactor.run hangs
Darren Govoni
darren at ontrenet.com
Sun Feb 14 16:45:19 EST 2010
I believe reactor.run() never returns and always blocks the calling
thread until reactor.stop() is called, afterwhich you cannot call
reactor.run() again. Not sure if that helps you though.
On Sun, 2010-02-14 at 22:36 +0100, giskard wrote:
> Hi all,
>
> i think i'm not doing things in the right way:
>
> http://paste.debian.net/59855/
>
> this code implement a simple jabber client, if you remove the class defnition
> and run it (removing also the run def) it works!
>
> but if i 'class' it and run via:
> http://paste.debian.net/59856/
>
> reactor.run() hangs.
>
> where i'm wrong?
>
> thank you in advance,
> --
> ciao,
> giskard
>
>
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100214/bfc1a8fa/attachment.htm
More information about the Twisted-Python
mailing list