diff --git a/lib/network.py b/lib/network.py index 4d1dfd155..06add980d 100644 --- a/lib/network.py +++ b/lib/network.py @@ -436,7 +436,7 @@ class Network(util.DaemonThread): self.response_queue.put(response) def handle_requests(self): - while self.interface: + while self.is_running(): try: request = self.requests_queue.get_nowait() except Queue.Empty: