From: Stefan Behnel Date: Sun, 21 Nov 2010 10:37:17 +0000 (+0100) Subject: test runner: fix pending threads handling at shutdown X-Git-Tag: 0.14.alpha0~102 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=17804df1773f56be1c1354586bae27d0a463b8a0;p=cython.git test runner: fix pending threads handling at shutdown --- diff --git a/runtests.py b/runtests.py index a0381c52..16d0adb4 100644 --- a/runtests.py +++ b/runtests.py @@ -863,6 +863,9 @@ def check_thread_termination(ignore_seen=True): continue t.join(timeout=2) if t.isAlive(): + if not ignore_seen: + blocking_threads.append(t) + continue for seen in threads_seen: if t is seen: break