Mark thread pool for garbage collection on being shut down

This commit is contained in:
Aria 2023-05-08 17:05:03 -07:00
parent 0917ad4173
commit 693db6d3a7

View file

@ -128,6 +128,7 @@ public class DelayedExecutorService {
private static void stopRepeatingThread()
{
repeater.shutdownNow();
repeater=null; // Dispose of so the threads get torn down and the program can stop successfully
}
public void onTick()