aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-03-15 17:21:35 +1300
committerAldo Cortesi <aldo@nullcube.com>2011-03-15 17:21:35 +1300
commit6d5c32ad4b6078a72b73b695981faec36ef917c0 (patch)
treecc19a507899bcd25905a325d9a6f08e47130291c /test/tutils.py
parentfb28e71f0b1beb68723a2d89e008793325cee715 (diff)
downloadmitmproxy-6d5c32ad4b6078a72b73b695981faec36ef917c0.tar.gz
mitmproxy-6d5c32ad4b6078a72b73b695981faec36ef917c0.tar.bz2
mitmproxy-6d5c32ad4b6078a72b73b695981faec36ef917c0.zip
Fix hang on shutdown.
Diffstat (limited to 'test/tutils.py')
-rw-r--r--test/tutils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tutils.py b/test/tutils.py
index ec2c71a8..ae9dea27 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -59,6 +59,7 @@ class TestMaster(controller.Master):
class ProxyThread(threading.Thread):
def __init__(self, port, testq):
self.tmaster = TestMaster(port, testq)
+ controller.exit = False
threading.Thread.__init__(self)
def run(self):