[Twisted-Python] reactor.stop

Itamar Shtull-Trauring itamar at itamarst.org
Sun Aug 15 21:22:09 MDT 2004

On Sun, 2004-08-15 at 12:01, Tsai Li Ming wrote:

> 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?

There is only one reactor. Calling reactor.stop() means "stop the
reactor", and this stops the application since the reactor is what's
driving it.

Itamar Shtull-Trauring    http://itamarst.org

More information about the Twisted-Python mailing list