mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
mitmdump: send script .done when terminating after flow read
Fixes #1439
This commit is contained in:
parent
db22e72103
commit
297cf5d565
@ -118,5 +118,6 @@ class DumpMaster(flow.FlowMaster):
|
|||||||
|
|
||||||
def run(self): # pragma: no cover
|
def run(self): # pragma: no cover
|
||||||
if self.options.rfile and not self.options.keepserving:
|
if self.options.rfile and not self.options.keepserving:
|
||||||
|
self.addons.done()
|
||||||
return
|
return
|
||||||
super(DumpMaster, self).run()
|
super(DumpMaster, self).run()
|
||||||
|
Loading…
Reference in New Issue
Block a user