We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74b154c commit e7db39bCopy full SHA for e7db39b
src/main/java/conseq4j/execute/ConseqExecutor.java
@@ -174,7 +174,7 @@ public void shutdown() {
174
await.until(() -> this.workerThreadPool.getActiveCount() == 0);
175
await.until(() -> this.latestSequentialTasks.size() == 0);
176
this.workerThreadPool.shutdown();
177
- await.until(this.workerThreadPool::isShutdown);
+ await.until(this.workerThreadPool::isTerminated);
178
this.adminThread.shutdown();
179
});
180
shutdownThread.shutdown();
0 commit comments