mirror of
https://github.com/apache/druid.git
synced 2025-02-17 07:25:02 +00:00
explicitly call lifecycle stop
This commit is contained in:
parent
be89105621
commit
08f50fcc37
@ -223,6 +223,8 @@ public class CliPeon extends GuiceRunnable
|
||||
)
|
||||
);
|
||||
injector.getInstance(ExecutorLifecycle.class).join();
|
||||
// Explicitly call lifecycle stop, dont rely on shutdown hook.
|
||||
lifecycle.stop();
|
||||
}
|
||||
catch (Throwable t) {
|
||||
log.error(t, "Error when starting up. Failing.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user