Shut down the synchronizer as soon as the controller is stopping, if we are able to.

This commit is contained in:
CalDescent 2022-01-30 20:14:11 +00:00
parent 5700369935
commit f005a0975d

View File

@ -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) {