1
0

fix synchronizer hanging when not connected.

This commit is contained in:
ThomasV
2015-03-14 08:43:43 +01:00
parent c3cba78659
commit a4cb70649d
6 changed files with 18 additions and 12 deletions

View File

@@ -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: