diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-05-08 16:54:30 -0600 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-05-08 16:54:30 -0600 |
commit | 01f52ee56ab6b798aed3f8cec35ba9b3a25cbd87 (patch) | |
tree | d711f12209dbf711d23dc404b98c8ae5e5c25867 | |
parent | 3c644274e9d54ef59e5123eeae9e8b4978d29d9e (diff) | |
download | mitmproxy-01f52ee56ab6b798aed3f8cec35ba9b3a25cbd87.tar.gz mitmproxy-01f52ee56ab6b798aed3f8cec35ba9b3a25cbd87.tar.bz2 mitmproxy-01f52ee56ab6b798aed3f8cec35ba9b3a25cbd87.zip |
fix mitmdump shutdown
-rw-r--r-- | mitmproxy/dump.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py index a077438b..d224f1aa 100644 --- a/mitmproxy/dump.py +++ b/mitmproxy/dump.py @@ -346,6 +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. + self.unload_scripts() # make sure to trigger script unload events. return super(DumpMaster, self).run()
\ No newline at end of file |