mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 15:55:28 +00:00
fix mitmdump shutdown
This commit is contained in:
parent
3c644274e9
commit
01f52ee56a
@ -346,6 +346,6 @@ class DumpMaster(flow.FlowMaster):
|
|||||||
|
|
||||||
def run(self): # pragma: no cover
|
def run(self): # pragma: no cover
|
||||||
if self.o.rfile and not self.o.keepserving:
|
if self.o.rfile and not self.o.keepserving:
|
||||||
self.shutdown() # We need to manually call .shutdown() here, e.g. to trigger script unload events.
|
self.unload_scripts() # make sure to trigger script unload events.
|
||||||
return
|
return
|
||||||
super(DumpMaster, self).run()
|
super(DumpMaster, self).run()
|
Loading…
Reference in New Issue
Block a user