[Twisted-Python] Discovering Twisted : reactor.stop()
exarkun at divmod.com
Thu Sep 27 06:45:54 EDT 2007
On Thu, 27 Sep 2007 12:25:02 +0200, Steve MULLER <thoma.hauc at gmail.com> wrote:
>I discovered Python recently and even more recently the Twisted module.
>I have a problem with the Twisted reactor and I would like to understand for
>which reason my program freezes.
>Thus I start first once the reactor, I stop it then I start again and it
>freezes instead of stopping it the reactor.
>Could somebody explain me it why?
None of the reactors implemented in Twisted are restartable. You can call
each of start and stop at most once.
More information about the Twisted-Python