[Minor] Code cleanup

This commit is contained in:
Robert von Burg 2020-03-24 14:36:03 +01:00
parent de361f7ca6
commit 8305035df7
1 changed files with 1 additions and 2 deletions

View File

@ -46,13 +46,12 @@ public class ExecutorPool {
for (String poolName : this.executors.keySet()) {
logger.info("Shutting down executor pool " + poolName);
ExecutorService executor = this.executors.get(poolName);
shutdownExecutor(executor);
}
for (String poolName : this.scheduledExecutors.keySet()) {
logger.info("Shutting down scheduled executor pool " + poolName);
ExecutorService executor = this.scheduledExecutors.get(poolName);
shutdownExecutor(executor);
}
}