From 08b35280587f104f48b1e9e1ff071b98c31f3553 Mon Sep 17 00:00:00 2001 From: Mads Boddum Date: Thu, 27 Oct 2016 03:43:09 +0200 Subject: [PATCH] The FactionService Executor is now shut down in terminate() --- src/services/faction/FactionService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/faction/FactionService.java b/src/services/faction/FactionService.java index 3f080407a..9dfa54b59 100644 --- a/src/services/faction/FactionService.java +++ b/src/services/faction/FactionService.java @@ -71,11 +71,11 @@ public final class FactionService extends Service { } @Override - public boolean stop() { + public boolean terminate() { // If some were in the middle of switching, finish the switches immediately executor.shutdownNow().forEach(runnable -> runnable.run()); - return super.stop(); + return super.terminate(); } private void handleFactionIntent(FactionIntent i) {