From ab7281ec0452049ff053128ba741afbd9d1cfdb3 Mon Sep 17 00:00:00 2001 From: Marcelo Glezer Date: Wed, 25 Mar 2015 17:40:25 -0300 Subject: [PATCH] fix #530 set client_playback to None when client_playback is done --- libmproxy/flow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmproxy/flow.py b/libmproxy/flow.py index 8343c1832..bdf49133e 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -771,6 +771,8 @@ class FlowMaster(controller.Master): if all(e): self.shutdown() self.client_playback.tick(self) + if self.client_playback.done(): + self.client_playback = None return super(FlowMaster, self).tick(q, timeout)