[Twisted-Python] reactor.stop

Tsai Li Ming mailinglist at ltsai.com
Sun Aug 15 10:01:57 MDT 2004


Dear all,

I understand we are not supposed to call reactor.stop() within twistd as 
the reactor is already running, therefore it will shut down the entire 
application.

Why does calling reactor.stop within my module will cause the 
application to shutdown? Is it because even when I import the reactor in 
my own module, it is still somewhat linked to the twistd reactor through 
the system event trigger?

Regards,
Liming





More information about the Twisted-Python mailing list