Remove the debug after fixing the issue
This commit is contained in:
parent
9feebd4582
commit
7988bcdf12
1 changed files with 1 additions and 6 deletions
|
@ -127,12 +127,7 @@ public class DelayedExecutorService {
|
|||
|
||||
private static void stopRepeatingThread()
|
||||
{
|
||||
repeater.shutdown();
|
||||
try {
|
||||
repeater.awaitTermination(1L, TimeUnit.SECONDS);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
repeater.shutdownNow();
|
||||
repeater=null; // Dispose of so the threads get torn down and the program can stop successfully
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue