Destroy ECMap instances on deactivate
Change-Id: I2437582b8d878bbf57d8447cb7d93636c9fc0246
Showing
2 changed files
with
2 additions
and
1 deletions
| ... | @@ -253,7 +253,7 @@ public class GossipDeviceStore | ... | @@ -253,7 +253,7 @@ public class GossipDeviceStore |
| 253 | 253 | ||
| 254 | @Deactivate | 254 | @Deactivate |
| 255 | public void deactivate() { | 255 | public void deactivate() { |
| 256 | - | 256 | + devicePortStats.destroy(); |
| 257 | executor.shutdownNow(); | 257 | executor.shutdownNow(); |
| 258 | 258 | ||
| 259 | backgroundExecutor.shutdownNow(); | 259 | backgroundExecutor.shutdownNow(); | ... | ... |
| ... | @@ -137,6 +137,7 @@ public class DistributedTunnelStore | ... | @@ -137,6 +137,7 @@ public class DistributedTunnelStore |
| 137 | 137 | ||
| 138 | @Deactivate | 138 | @Deactivate |
| 139 | public void deactivate() { | 139 | public void deactivate() { |
| 140 | + orderRelationship.destroy(); | ||
| 140 | tunnelIdAsKeyStore.destroy(); | 141 | tunnelIdAsKeyStore.destroy(); |
| 141 | srcAndDstKeyStore.destroy(); | 142 | srcAndDstKeyStore.destroy(); |
| 142 | typeKeyStore.destroy(); | 143 | typeKeyStore.destroy(); | ... | ... |
-
Please register or login to post a comment