commit | 024f44c902768868a136987b895b784f960a3e43 | [log] [tgz] |
---|---|---|
author | pier <pier@opennetworking.org> | Mon Apr 01 23:38:42 2019 -0700 |
committer | Pier Luigi Ventre <pier@opennetworking.org> | Wed Apr 03 18:46:50 2019 +0000 |
tree | c91d596e4102f5cec0fb2388b99cb8bb5e49c214 | |
parent | 820ec7bf510850d47e4fee77d2f0e4f98335e2b4 [diff] |
Remove listeners before shutting down the executors Change-Id: I1496ec06a839bb893e35a2e6d322d9eed33f45f2
diff --git a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/xconnect/impl/XconnectManager.java b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/xconnect/impl/XconnectManager.java index 7a579b2..102d469 100644 --- a/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/xconnect/impl/XconnectManager.java +++ b/apps/segmentrouting/app/src/main/java/org/onosproject/segmentrouting/xconnect/impl/XconnectManager.java
@@ -250,6 +250,7 @@ xconnectStore.removeListener(xconnectListener); deviceService.removeListener(deviceListener); hostService.removeListener(hostListener); + portLoadBalancerService.removeListener(portLoadBalancerListener); codecService.unregisterCodec(XconnectDesc.class); deviceEventExecutor.shutdown();