fix nodes shutdown
This commit is contained in:
parent
afbb4e638f
commit
7e40c2667b
1 changed files with 4 additions and 3 deletions
|
@ -479,9 +479,10 @@ class Nodes(Thread):
|
|||
return
|
||||
self._pulling = True
|
||||
for node in list(self._nodes.values()):
|
||||
node.online = node.can_connect()
|
||||
if node.online:
|
||||
node.pullChanges()
|
||||
if self._running:
|
||||
node.online = node.can_connect()
|
||||
if node.online:
|
||||
node.pullChanges()
|
||||
self._pulling = False
|
||||
|
||||
def run(self):
|
||||
|
|
Loading…
Reference in a new issue