From 1c9386b6d6844ec35629642efc2a4e833dac267d Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Wed, 6 Nov 2013 09:59:51 -0800 Subject: [PATCH] StreamCapturer should die if main process crashes. --- IPython/testing/iptest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index 0141bc30f..b25b0dfc7 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__()