From 2ee5a7cf7ba5ef6b5537931437eb2fca685a7464 Mon Sep 17 00:00:00 2001 From: Gary Tierney Date: Sat, 3 Oct 2015 23:31:29 +0100 Subject: [PATCH] Call executor.shutdown() to run tasks --- game/src/main/org/apollo/game/fs/decoder/SynchronousDecoder.java | 1 + 1 file changed, 1 insertion(+) diff --git a/game/src/main/org/apollo/game/fs/decoder/SynchronousDecoder.java b/game/src/main/org/apollo/game/fs/decoder/SynchronousDecoder.java index acc0dd86..d46c01da 100644 --- a/game/src/main/org/apollo/game/fs/decoder/SynchronousDecoder.java +++ b/game/src/main/org/apollo/game/fs/decoder/SynchronousDecoder.java @@ -51,6 +51,7 @@ public final class SynchronousDecoder { .map(executor::submit) .collect(toList()); + executor.shutdown(); executor.awaitTermination(TIMEOUT, TimeUnit.MILLISECONDS); for (Future future : futureList) {