diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-03-15 17:21:35 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-03-15 17:21:35 +1300 |
commit | 6d5c32ad4b6078a72b73b695981faec36ef917c0 (patch) | |
tree | cc19a507899bcd25905a325d9a6f08e47130291c /test/tutils.py | |
parent | fb28e71f0b1beb68723a2d89e008793325cee715 (diff) | |
download | mitmproxy-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.py | 1 |
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): |