Trying to fix ge

This commit is contained in:
ceikry
2021-07-21 21:48:34 -05:00
parent e74bbd9234
commit 8b3ce282c8
2 changed files with 11 additions and 3 deletions
@@ -78,10 +78,13 @@ public final class SystemTermination {
e.printStackTrace();
}
}
while(!Repository.getDisconnectionQueue().isEmpty()){
Repository.getDisconnectionQueue().update();
try {
Thread.sleep(100);
} catch (Exception ignored) {}
}
Repository.getDisconnectionQueue().update();
try {
Thread.sleep(3_000);
} catch (Exception ignored){}
GrandExchangeDatabase.save();
OfferManager.save();
SystemLogger.flushLogs();