fix synchronizer hanging when not connected.
This commit is contained in:
@@ -78,11 +78,10 @@ class NetworkProxy(util.DaemonThread):
|
||||
if response is None:
|
||||
break
|
||||
self.process(response)
|
||||
|
||||
self.trigger_callback('stop')
|
||||
if self.network:
|
||||
self.network.stop()
|
||||
print_error("NetworkProxy: terminating")
|
||||
self.print_error("stopped")
|
||||
|
||||
def process(self, response):
|
||||
if self.debug:
|
||||
|
||||
Reference in New Issue
Block a user