Thomas Vachuska

Fixed a defect in topology view handler where listeners were being removed prematurely.

Change-Id: I48e2a719be726e557ecf57759799ae63e4ac122f
...@@ -162,6 +162,7 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase { ...@@ -162,6 +162,7 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase {
162 @Override 162 @Override
163 public void destroy() { 163 public void destroy() {
164 cancelAllRequests(); 164 cancelAllRequests();
165 + removeListeners();
165 super.destroy(); 166 super.destroy();
166 } 167 }
167 168
...@@ -245,7 +246,6 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase { ...@@ -245,7 +246,6 @@ public class TopologyViewMessageHandler extends TopologyViewMessageHandlerBase {
245 private void cancelAllRequests() { 246 private void cancelAllRequests() {
246 stopSummaryMonitoring(); 247 stopSummaryMonitoring();
247 stopTrafficMonitoring(); 248 stopTrafficMonitoring();
248 - removeListeners();
249 } 249 }
250 250
251 // Sends all controller nodes to the client as node-added messages. 251 // Sends all controller nodes to the client as node-added messages.
......