From d1ff52755007703cd2b7d12001091d5fea112245 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 4 Sep 2011 10:50:00 +1200 Subject: [PATCH] Reset exit flag when proxy starts. --- libmproxy/controller.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmproxy/controller.py b/libmproxy/controller.py index 756e51e61..67ce2460d 100644 --- a/libmproxy/controller.py +++ b/libmproxy/controller.py @@ -80,6 +80,8 @@ class Master: return changed def run(self): + global should_exit + should_exit = False if self.server: slave = Slave(self.masterq, self.server) slave.start()