mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
[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…
x
Reference in New Issue
Block a user