From eca9aedaa7d8205f68845ec8d5ac4381552f20a3 Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Fri, 27 Jan 2023 15:26:05 +0100 Subject: [PATCH] DaoStateStorageService: Don't call executorService.shutdown() twice MoreExecutors.shutdownAndAwaitTermination(executorService, ...) calls executorService.shutdown() before starting its force shutdown timer. --- .../java/bisq/core/dao/state/storage/DaoStateStorageService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/main/java/bisq/core/dao/state/storage/DaoStateStorageService.java b/core/src/main/java/bisq/core/dao/state/storage/DaoStateStorageService.java index dc44deb90b..b4b268164f 100644 --- a/core/src/main/java/bisq/core/dao/state/storage/DaoStateStorageService.java +++ b/core/src/main/java/bisq/core/dao/state/storage/DaoStateStorageService.java @@ -128,7 +128,6 @@ public class DaoStateStorageService extends StoreService { } public void shutDown() { - executorService.shutdown(); // noinspection UnstableApiUsage MoreExecutors.shutdownAndAwaitTermination(executorService, 10, TimeUnit.SECONDS); }