mirror of https://github.com/scrapy/scrapy.git
Use self.proc.communicate() after killing mitmdump.
This commit is contained in:
parent
5970d00eb9
commit
8b730a3670
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue