[ML] Kill process after executor has shutdown (elastic/x-pack-elasticsearch#3958)
Original commit: elastic/x-pack-elasticsearch@4c58aa51bf
This commit is contained in:
parent
206f47707c
commit
137488c9f9
|
@ -187,8 +187,8 @@ public class AutodetectCommunicator implements Closeable {
|
|||
try {
|
||||
processKilled = true;
|
||||
autoDetectResultProcessor.setProcessKilled();
|
||||
autodetectProcess.kill();
|
||||
autodetectWorkerExecutor.shutdown();
|
||||
autodetectProcess.kill();
|
||||
|
||||
if (awaitCompletion) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue