commit | d13e4a49b0a277cd5134ba206b49f4306d684aa3 | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@onlab.us> | Mon Aug 08 14:39:51 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Aug 08 22:44:39 2016 +0000 |
tree | 88350f9e28354d554148d16dbe8c7f51170110b0 | |
parent | 525fded431b8540462a8a0653a54d1b685952ddd [diff] |
Shutting down executor immediately to avoid evaluation of queued up tasks. Change-Id: I4a8c2287fa4a760b9a840f681f22a7212d850ae8
diff --git a/incubator/net/src/main/java/org/onosproject/incubator/net/virtual/impl/VirtualNetworkTopologyProvider.java b/incubator/net/src/main/java/org/onosproject/incubator/net/virtual/impl/VirtualNetworkTopologyProvider.java index 85b8a0a..d2e0b26 100644 --- a/incubator/net/src/main/java/org/onosproject/incubator/net/virtual/impl/VirtualNetworkTopologyProvider.java +++ b/incubator/net/src/main/java/org/onosproject/incubator/net/virtual/impl/VirtualNetworkTopologyProvider.java
@@ -87,7 +87,7 @@ @Deactivate public void deactivate() { topologyService.removeListener(topologyListener); - executor.shutdown(); + executor.shutdownNow(); executor = null; providerRegistry.unregister(this); providerService = null;