Do not allow global timer to be stopped
[controller.git] / opendaylight / config / netty-timer-config / src / main / java / org / opendaylight / controller / config / yang / netty / timer / OSGiGlobalTimer.java
index 87e941d7c8cb5e234a1e4cdb0a719e0f1476a41c..cb2eb708acf0eb1e5214809fee4f957b2b02097e 100644 (file)
@@ -56,6 +56,7 @@ public final class OSGiGlobalTimer implements Timer {
 
     @Override
     public Set<Timeout> stop() {
-        return delegate.stop();
+        LOG.warn("Attepted to stop global timer", new Throwable());
+        return Set.of();
     }
 }