Shutdown shared scheduled executor on Core deactivate
Change-Id: I9a7cb1b8db346e2ca5818eeb1986d42a63dec806
diff --git a/core/net/src/main/java/org/onosproject/core/impl/CoreManager.java b/core/net/src/main/java/org/onosproject/core/impl/CoreManager.java
index 806093e..cda738f 100644
--- a/core/net/src/main/java/org/onosproject/core/impl/CoreManager.java
+++ b/core/net/src/main/java/org/onosproject/core/impl/CoreManager.java
@@ -25,6 +25,7 @@
import org.apache.felix.scr.annotations.Service;
import org.onlab.metrics.MetricsService;
import org.onlab.util.SharedExecutors;
+import org.onlab.util.SharedScheduledExecutors;
import org.onlab.util.Tools;
import org.onosproject.app.ApplicationService;
import org.onosproject.cfg.ComponentConfigService;
@@ -120,6 +121,7 @@
protected void deactivate() {
cfgService.unregisterProperties(getClass(), false);
SharedExecutors.shutdown();
+ SharedScheduledExecutors.shutdown();
}
@Override