Cleanup: removed lost synchronized keyword
Original commit: elastic/x-pack-elasticsearch@6eaa2a59a7
This commit is contained in:
parent
8705fd04b9
commit
ecdfdb11d9
|
@ -152,9 +152,7 @@ public class AlertManager extends AbstractComponent {
|
||||||
public void stop() {
|
public void stop() {
|
||||||
if (started.compareAndSet(true, false)) {
|
if (started.compareAndSet(true, false)) {
|
||||||
logger.info("Stopping alert manager...");
|
logger.info("Stopping alert manager...");
|
||||||
synchronized (scheduler) {
|
scheduler.stop();
|
||||||
scheduler.stop();
|
|
||||||
}
|
|
||||||
actionManager.stop();
|
actionManager.stop();
|
||||||
alertsStore.stop();
|
alertsStore.stop();
|
||||||
logger.info("Alert manager has stopped");
|
logger.info("Alert manager has stopped");
|
||||||
|
|
Loading…
Reference in New Issue