commit | 1ad592760b30d864a5bd003e543daa87b023f97a | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Tue Nov 10 15:23:21 2015 -0800 |
committer | Simon Hunt <simon@onlab.us> | Tue Nov 10 15:23:21 2015 -0800 |
tree | c563dea6cec2f27bfd3331195d0079f8a4c1ba91 | |
parent | 73da27fc50a6a5b5cc3d17736158caa12ad24756 [diff] |
ONOS-1864 -- Topology view sending events after view changed - it helps if we remove the model listeners when the UI tells us to stop monitoring topology. Change-Id: I272a664cdddecf584b20e496eebed3275fc9a9aa
diff --git a/web/gui/src/main/java/org/onosproject/ui/impl/TopologyViewMessageHandler.java b/web/gui/src/main/java/org/onosproject/ui/impl/TopologyViewMessageHandler.java index 82b7a78..700e57e 100644 --- a/web/gui/src/main/java/org/onosproject/ui/impl/TopologyViewMessageHandler.java +++ b/web/gui/src/main/java/org/onosproject/ui/impl/TopologyViewMessageHandler.java
@@ -289,6 +289,7 @@ @Override public void process(long sid, ObjectNode payload) { + removeListeners(); stopSummaryMonitoring(); traffic.stopMonitoring(); }