forked from Qortal/qortal
Shut down the synchronizer as soon as the controller is stopping, if we are able to.
This commit is contained in:
parent
5700369935
commit
f005a0975d
@ -111,7 +111,7 @@ public class Synchronizer extends Thread {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
while (running) {
|
while (running && !Controller.isStopping()) {
|
||||||
Thread.sleep(1000);
|
Thread.sleep(1000);
|
||||||
|
|
||||||
if (requestSync) {
|
if (requestSync) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user