forked from Qortal/qortal
Shutdown/interrupt the synchronizer as early as possible
This commit is contained in:
parent
c9d5d996e5
commit
640bcdd504
@ -826,6 +826,9 @@ public class Controller extends Thread {
|
||||
if (!isStopping) {
|
||||
isStopping = true;
|
||||
|
||||
LOGGER.info("Shutting down synchronizer");
|
||||
Synchronizer.getInstance().shutdown();
|
||||
|
||||
LOGGER.info("Shutting down API");
|
||||
ApiService.getInstance().stop();
|
||||
|
||||
@ -852,9 +855,6 @@ public class Controller extends Thread {
|
||||
}
|
||||
}
|
||||
|
||||
LOGGER.info("Shutting down synchronizer");
|
||||
Synchronizer.getInstance().shutdown();
|
||||
|
||||
// Export local data
|
||||
LOGGER.info("Backing up local data");
|
||||
this.exportRepositoryData();
|
||||
|
Loading…
Reference in New Issue
Block a user