mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Call executor.shutdown() to run tasks
This commit is contained in:
@@ -51,6 +51,7 @@ public final class SynchronousDecoder {
|
||||
.map(executor::submit)
|
||||
.collect(toList());
|
||||
|
||||
executor.shutdown();
|
||||
executor.awaitTermination(TIMEOUT, TimeUnit.MILLISECONDS);
|
||||
|
||||
for (Future future : futureList) {
|
||||
|
||||
Reference in New Issue
Block a user