Remember To Shut Down ExecutorService
Don’t leave Java’s executor threads running
Methods that take a java.util.concurrent.Executor might not know if it’s an ExecutorService, so you have to call ExecutorService.shutdown() yourself.
Don’t leave Java’s executor threads running
Methods that take a java.util.concurrent.Executor might not know if it’s an ExecutorService, so you have to call ExecutorService.shutdown() yourself.