diff --git a/tests/twisted/saluttest.py b/tests/twisted/saluttest.py index da0fc89..c5e6d31 100644 --- a/tests/twisted/saluttest.py +++ b/tests/twisted/saluttest.py @@ -79,7 +79,7 @@ def exec_test_deferred (fun, params, protocol=None, timeout=None): sys.stdout = colourer.fh if error is None: - reactor.stop() + reactor.callLater(0, reactor.stop) else: # please ignore the POSIX behind the curtain os._exit(1)