On Fri, Jan 22, 2010 at 8:04 PM, Tristan Seligmann
<[email protected]> wrote:
> On Sat, Jan 23, 2010 at 1:40 AM, Mikhail Terekhov <[email protected]> wrote:
>> So why reactor never stops if it was never run? What it is doing?
>
> You call reactor.stop(); this does nothing but produce a delayed
> exception. You then call reactor.run(), which runs the reactor. You
> then never call reactor.stop() again, and thus the reactor continues
> running forever.

Tank you! I see now, it is very simple indeed!


-- 
Mikhail Terekhov

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

Reply via email to