Update core

This commit is contained in:
tom lee
2022-02-04 14:33:55 +08:00
parent 9f9fe6a231
commit d11f067392
2 changed files with 3 additions and 3 deletions
@@ -636,10 +636,10 @@ public final class BatchGenerationEnvironment extends AbstractBatchGenerationEnv
}
@Override
public void stop() {
public void stop(boolean blocking) {
ClientApi.LOGGER.info("Batch Chunk Generator shutting down...");
executors.shutdownNow();
try {
if (blocking) try {
if (!executors.awaitTermination(10, TimeUnit.SECONDS)) {
ClientApi.LOGGER.error("Batch Chunk Generator shutdown failed! Ignoring child threads...");
}
+1 -1
Submodule core updated: ac32697204...1032f550ed