fix nodes shutdown

This commit is contained in:
j 2016-01-25 23:02:47 +05:30
parent afbb4e638f
commit 7e40c2667b

View file

@ -479,6 +479,7 @@ class Nodes(Thread):
return return
self._pulling = True self._pulling = True
for node in list(self._nodes.values()): for node in list(self._nodes.values()):
if self._running:
node.online = node.can_connect() node.online = node.can_connect()
if node.online: if node.online:
node.pullChanges() node.pullChanges()