Call executor.shutdown() to run tasks

This commit is contained in:
Gary Tierney
2015-10-03 23:31:29 +01:00
parent 9abed472e9
commit 2ee5a7cf7b
@@ -51,6 +51,7 @@ public final class SynchronousDecoder {
.map(executor::submit)
.collect(toList());
executor.shutdown();
executor.awaitTermination(TIMEOUT, TimeUnit.MILLISECONDS);
for (Future future : futureList) {