faster shutdown

This commit is contained in:
j 2016-01-31 18:52:30 +05:30
commit a0b16fc841
2 changed files with 5 additions and 4 deletions

View file

@ -481,7 +481,7 @@ class Nodes(Thread):
for node in list(self._nodes.values()):
if self._running:
node.online = node.can_connect()
if node.online:
if self._running and node.online:
node.pullChanges()
self._pulling = False