summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nose/twistedtools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nose/twistedtools.py b/nose/twistedtools.py
index 2f2c14a..8d9c6ff 100644
--- a/nose/twistedtools.py
+++ b/nose/twistedtools.py
@@ -75,6 +75,7 @@ def stop_reactor():
'''Helper for calling stop from withing the thread.'''
reactor.stop()
+ reactor.callFromThread(stop_reactor)
reactor_thread.join()
for p in reactor.getDelayedCalls():
if p.active():