diff --git a/libmproxy/dump.py b/libmproxy/dump.py index 39da8eb3d..8bd29ae5a 100644 --- a/libmproxy/dump.py +++ b/libmproxy/dump.py @@ -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)