commit | e53d2287eb41c9dae65e4e410fb913cbeeab27a1 | [log] [tgz] |
---|---|---|
author | Yi Tseng <a86487817@gmail.com> | Wed Jan 11 14:40:48 2017 -0800 |
committer | Thomas Vachuska <tom@onlab.us> | Thu Jan 12 19:53:09 2017 +0000 |
tree | 21b48db6ac455d7547ba3ad073daccf179346106 | |
parent | ac8dab0e595f448b017120dc3807179af5d4f348 [diff] |
Fix VPLS app Remove listeners from HostService and InterfaceService after VPLS deactivate. Change-Id: I9d16a3e44fe7500e26f662f1d743315167dd890b
diff --git a/apps/vpls/src/main/java/org/onosproject/vpls/Vpls.java b/apps/vpls/src/main/java/org/onosproject/vpls/Vpls.java index bd9bf0e..658ddad 100644 --- a/apps/vpls/src/main/java/org/onosproject/vpls/Vpls.java +++ b/apps/vpls/src/main/java/org/onosproject/vpls/Vpls.java
@@ -140,6 +140,8 @@ @Deactivate public void deactivate() { + hostService.removeListener(hostListener); + interfaceService.removeListener(interfaceListener); configService.removeListener(configListener); intentSynchronizer.removeIntentsByAppId(appId); log.info("Deactivated");