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