mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 19:01:35 +00:00
Call executor.shutdown() to run tasks
This commit is contained in:
1 parent
9abed472e9
commit
2ee5a7cf7b
1 file changed
+1
@@ -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