From ead40a5845aa5ef1af3d01b4b5665d38763210f1 2013-11-06 17:59:51 From: Thomas Kluyver Date: 2013-11-06 17:59:51 Subject: [PATCH] StreamCapturer should die if main process crashes. --- diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index 0141bc3..b25b0df 100644 --- a/IPython/testing/iptest.py +++ b/IPython/testing/iptest.py @@ -359,6 +359,7 @@ class ExclusionPlugin(Plugin): class StreamCapturer(Thread): + daemon = True # Don't hang if main thread crashes started = False def __init__(self): super(StreamCapturer, self).__init__()