[Twisted-Python] still no stop!

Itamar Shtull-Trauring itamar at itamarst.org
Fri May 21 10:26:53 EDT 2004

On Fri, 2004-05-21 at 10:20, Bill la Forge wrote:

> ss=simpleService.SimpleService()
> ss.setServiceParent(serviceCollection)
> reactor.stop()

Don't do reactor.stop() inside a .tac. A .tac runs *before* event loop
starts, so you are essentially stopping event loop before it starts,
which can lead to broken behaviour.

Itamar Shtull-Trauring    http://itamarst.org

More information about the Twisted-Python mailing list