diff --git a/lib/network.py b/lib/network.py index 64c1686fd..2a920aaac 100644 --- a/lib/network.py +++ b/lib/network.py @@ -432,7 +432,7 @@ class Network(util.DaemonThread): self.response_queue.put(response) def handle_requests(self): - while True: + while self.interface: try: request = self.requests_queue.get_nowait() except Queue.Empty: