[Twisted-Python] 9.0.0 question

Mikhail Terekhov termim at gmail.com
Sat Jan 23 14:40:15 EST 2010


On Fri, Jan 22, 2010 at 8:04 PM, Tristan Seligmann
<mithrandi at mithrandi.net> wrote:
> On Sat, Jan 23, 2010 at 1:40 AM, Mikhail Terekhov <termim at gmail.com> 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



More information about the Twisted-Python mailing list