mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 10:46:54 +01:00
DaoStateStorageService: Don't call executorService.shutdown() twice
MoreExecutors.shutdownAndAwaitTermination(executorService, ...) calls executorService.shutdown() before starting its force shutdown timer.
This commit is contained in:
parent
d682d956a1
commit
eca9aedaa7
1 changed files with 0 additions and 1 deletions
|
@ -128,7 +128,6 @@ public class DaoStateStorageService extends StoreService<DaoStateStore> {
|
|||
}
|
||||
|
||||
public void shutDown() {
|
||||
executorService.shutdown();
|
||||
// noinspection UnstableApiUsage
|
||||
MoreExecutors.shutdownAndAwaitTermination(executorService, 10, TimeUnit.SECONDS);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue