mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Join thread on test exit to avoid race condition.
This commit is contained in:
parent
00c8bef0ff
commit
b1f410c78d
@ -20,6 +20,7 @@ class Daemon:
|
||||
|
||||
def shutdown(self):
|
||||
requests.post("%s/api/shutdown"%self.urlbase, verify=False)
|
||||
self.thread.join()
|
||||
|
||||
|
||||
class PaThread(threading.Thread):
|
||||
|
Loading…
Reference in New Issue
Block a user