From fd828bf95981780f5cce300e389c18ca43bfddce Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Tue, 4 Feb 2014 18:40:12 +0100 Subject: [PATCH] shutdown properly if we dont keep serving --- libmproxy/dump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)