diff --git a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlInitializationService.java b/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlInitializationService.java index 486f04b2995..5dba8ce943c 100644 --- a/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlInitializationService.java +++ b/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlInitializationService.java @@ -38,12 +38,6 @@ class MlInitializationService extends AbstractComponent implements ClusterStateL this.clusterService = clusterService; this.client = client; clusterService.addListener(this); - clusterService.addLifecycleListener(new LifecycleListener() { - @Override - public void beforeStop() { - super.beforeStop(); - } - }); } @Override