diff --git a/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java b/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java index 7145a12d90..a2c652a5a3 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java @@ -515,8 +515,8 @@ public class DistributedApplicationStore extends ApplicationArchive } setupApplicationAndNotify(appId, newApp.app(), newApp.state()); } else if (event.type() == MapEvent.Type.REMOVE) { - notifyDelegate(new ApplicationEvent(APP_UNINSTALLED, oldApp.app())); purgeApplication(appId.name()); + notifyDelegate(new ApplicationEvent(APP_UNINSTALLED, oldApp.app())); } } }