Merge pull request #6541 from alvasw/dao_state_storage_service_do_not_call_executor_service_shutdown_twice

DaoStateStorageService: Don't call executorService.shutdown() twice
This commit is contained in:
Alejandro García 2023-01-28 19:23:23 +00:00 committed by GitHub
commit 71c05f6ac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,7 +128,6 @@ public class DaoStateStorageService extends StoreService<DaoStateStore> {
}
public void shutDown() {
executorService.shutdown();
// noinspection UnstableApiUsage
MoreExecutors.shutdownAndAwaitTermination(executorService, 10, TimeUnit.SECONDS);
}