From 124dbe700f68ecdacce399d5f54d32e1676a5a21 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 25 Nov 2023 07:39:31 -0600 Subject: [PATCH] Attempt to prevent threadPool null pointers --- .../distanthorizons/core/util/threading/ConfigThreadPool.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/util/threading/ConfigThreadPool.java b/core/src/main/java/com/seibel/distanthorizons/core/util/threading/ConfigThreadPool.java index 47a509b91..108d41415 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/util/threading/ConfigThreadPool.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/util/threading/ConfigThreadPool.java @@ -90,9 +90,8 @@ public class ConfigThreadPool { if (this.executor != null) { - //LOGGER.info("Stopping File Handler"); + //LOGGER.info("Stopping thread pool"); this.executor.shutdownNow(); - this.executor = null; } this.threadCount = 0;