Cleanup: removed lost synchronized keyword

Original commit: elastic/x-pack-elasticsearch@6eaa2a59a7
This commit is contained in:
Martijn van Groningen 2014-11-14 00:01:09 +01:00
parent 8705fd04b9
commit ecdfdb11d9
1 changed files with 1 additions and 3 deletions

View File

@ -152,9 +152,7 @@ public class AlertManager extends AbstractComponent {
public void stop() {
if (started.compareAndSet(true, false)) {
logger.info("Stopping alert manager...");
synchronized (scheduler) {
scheduler.stop();
}
scheduler.stop();
actionManager.stop();
alertsStore.stop();
logger.info("Alert manager has stopped");