
RuntimeResourcePackImpl threads do not allow the JVM process to terminate
maityyy opened this issue ยท 1 comments
ExecutorService doesn't make deamon threads initially sad.
Fix
import com.google.common.util.concurrent.ThreadFactoryBuilder;
ThreadFactory factory = new ThreadFactoryBuilder()
.setNameFormat("ARRP-Workers-%d")
.setDaemon(true)
.build();
EXECUTOR_SERVICE = Executors.newFixedThreadPool(processors, factory);