aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmproxy/flow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py
index ef226641..20020e84 100644
--- a/libmproxy/flow.py
+++ b/libmproxy/flow.py
@@ -1439,13 +1439,13 @@ class FlowMaster(controller.Master):
for i in self.state._flow_list:
if not i.response:
self.stream.add(i)
- self.stream.fo.close()
self.stop_stream()
def start_stream(self, fp):
self.stream = FlowWriter(fp)
def stop_stream(self):
+ self.stream.fo.close()
self.stream = None