commit | cc3f816e9f35fd01eff0404f86b1b08f47ef66c3 | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Mon Jan 04 12:32:58 2016 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Mon Jan 04 12:32:58 2016 +0000 |
tree | 83bfdf29cdbfc780de1cb92bdba2097b5c32703c | |
parent | e04b687cbe38e550529a3454d26e5b77eb42c1ca [diff] |
FELIX-5155: cleanup possibly cached dependency callback instance when removing a dependency from an aspect or adapter component. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1722858 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/impl/FilterComponent.java b/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/impl/FilterComponent.java index c86265c..570820e 100644 --- a/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/impl/FilterComponent.java +++ b/dependencymanager/org.apache.felix.dependencymanager/src/org/apache/felix/dm/impl/FilterComponent.java
@@ -160,6 +160,8 @@ } } } + // Cleanup possibly cached depenedncy callack instances. + m_dependencyCallbacks.remove((DependencyContext) dependency); return this; }