diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-05-08 16:49:36 -0600 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-05-08 16:49:36 -0600 |
commit | 3c644274e9d54ef59e5123eeae9e8b4978d29d9e (patch) | |
tree | e416c2754e15258557bfbf2388686112b9e3f179 | |
parent | 9ac9df82c4ef976f3b0ff5d0666126f51e3023dd (diff) | |
download | mitmproxy-3c644274e9d54ef59e5123eeae9e8b4978d29d9e.tar.gz mitmproxy-3c644274e9d54ef59e5123eeae9e8b4978d29d9e.tar.bz2 mitmproxy-3c644274e9d54ef59e5123eeae9e8b4978d29d9e.zip |
mitmdump: make sure to always call done() in inline scripts
-rw-r--r-- | mitmproxy/dump.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py index c308adf0..a077438b 100644 --- a/mitmproxy/dump.py +++ b/mitmproxy/dump.py @@ -346,5 +346,6 @@ class DumpMaster(flow.FlowMaster): def run(self): # pragma: no cover 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. return super(DumpMaster, self).run()
\ No newline at end of file |