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()