Committed by
Gerrit Code Review
Shutting down executor immediately to avoid evaluation of queued up tasks.
Change-Id: I4a8c2287fa4a760b9a840f681f22a7212d850ae8
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -87,7 +87,7 @@ public class VirtualNetworkTopologyProvider extends AbstractProvider implements | ... | @@ -87,7 +87,7 @@ public class VirtualNetworkTopologyProvider extends AbstractProvider implements |
| 87 | @Deactivate | 87 | @Deactivate |
| 88 | public void deactivate() { | 88 | public void deactivate() { |
| 89 | topologyService.removeListener(topologyListener); | 89 | topologyService.removeListener(topologyListener); |
| 90 | - executor.shutdown(); | 90 | + executor.shutdownNow(); |
| 91 | executor = null; | 91 | executor = null; |
| 92 | providerRegistry.unregister(this); | 92 | providerRegistry.unregister(this); |
| 93 | providerService = null; | 93 | providerService = null; | ... | ... |
-
Please register or login to post a comment