From 39b31edeb4324f2c9a736ca52fbc9b74173ab04f Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:22:21 +0700 Subject: [PATCH] they always exceed the timeout lol --- src/main/java/me/chayapak1/chomens_bot/Main.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/me/chayapak1/chomens_bot/Main.java b/src/main/java/me/chayapak1/chomens_bot/Main.java index bd57f49..e5234bd 100644 --- a/src/main/java/me/chayapak1/chomens_bot/Main.java +++ b/src/main/java/me/chayapak1/chomens_bot/Main.java @@ -196,10 +196,6 @@ public class Main { try { final boolean executorDone = executor.awaitTermination(5, TimeUnit.SECONDS); final boolean executorServiceDone = executorService.awaitTermination(5, TimeUnit.SECONDS); - - if (!executorDone || !executorServiceDone) { - System.out.println("Executors failed to shut down"); - } } catch (InterruptedException e) { e.printStackTrace(); }