[Twisted-Python] Problem exiting script that calls a func returning a called deferred

Terry Jones terry at jon.es
Fri Apr 25 06:04:43 EDT 2008

Hi Amaury

> did you try something like:
>        def stop(x):
>            reactor.callLater(0, reactor.stop)
> This ensures that the reactor is started before you tell it to stop.

That's perfect, thanks.


More information about the Twisted-Python mailing list