forked from Qortal/qortal
Give up immediately after a synchronization if we are shutting down the synchronizer
This commit is contained in:
parent
7338f5f985
commit
0430fc8a47
@ -307,6 +307,11 @@ public class Synchronizer extends Thread {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!running) {
|
||||||
|
// We've stopped
|
||||||
|
return SynchronizationResult.SHUTTING_DOWN;
|
||||||
|
}
|
||||||
|
|
||||||
// Has our chain tip changed?
|
// Has our chain tip changed?
|
||||||
BlockData newChainTip;
|
BlockData newChainTip;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user