Use self.proc.communicate() after killing mitmdump.

This commit is contained in:
Andrey Rakhmatullin 2019-11-01 19:50:56 +05:00
parent 5970d00eb9
commit 8b730a3670
1 changed files with 1 additions and 2 deletions

View File

@ -48,8 +48,7 @@ sys.exit(mitmdump())
def stop(self):
self.proc.kill()
self.proc.wait()
time.sleep(0.2)
self.proc.communicate()
def _wrong_credentials(proxy_url):