Add some debug

This commit is contained in:
Aria 2023-05-08 17:08:00 -07:00
parent 693db6d3a7
commit 9feebd4582

View file

@ -127,7 +127,12 @@ public class DelayedExecutorService {
private static void stopRepeatingThread()
{
repeater.shutdownNow();
repeater.shutdown();
try {
repeater.awaitTermination(1L, TimeUnit.SECONDS);
}catch(Exception e){
e.printStackTrace();
}
repeater=null; // Dispose of so the threads get torn down and the program can stop successfully
}