mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-23 11:56:52 +08:00
shutdown properly if we dont keep serving
This commit is contained in:
@@ -223,7 +223,7 @@ class DumpMaster(flow.FlowMaster):
|
||||
|
||||
def run(self): # pragma: no cover
|
||||
if self.o.rfile and not self.o.keepserving:
|
||||
self.unload_scripts()
|
||||
self.shutdown()
|
||||
return
|
||||
try:
|
||||
return flow.FlowMaster.run(self)
|
||||
|
||||
Reference in New Issue
Block a user