FELIX-2696 Now properly flushes the internal cache that keeps track of which component instances already had their updated() method invoked.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1035250 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/dependencies/ConfigurationDependencyImpl.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/dependencies/ConfigurationDependencyImpl.java
index 1d76cb4..d76200b 100644
--- a/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/dependencies/ConfigurationDependencyImpl.java
+++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/impl/dependencies/ConfigurationDependencyImpl.java
@@ -26,13 +26,13 @@
 import java.util.Properties;
 import java.util.Set;
 
+import org.apache.felix.dm.ComponentDependencyDeclaration;
 import org.apache.felix.dm.ConfigurationDependency;
 import org.apache.felix.dm.Dependency;
 import org.apache.felix.dm.DependencyActivation;
 import org.apache.felix.dm.DependencyService;
+import org.apache.felix.dm.InvocationUtil;
 import org.apache.felix.dm.PropertyMetaData;
-import org.apache.felix.dm.ComponentDependencyDeclaration;
-import org.apache.felix.dm.impl.InvocationUtil;
 import org.apache.felix.dm.impl.Logger;
 import org.apache.felix.dm.impl.metatype.MetaTypeProviderImpl;
 import org.osgi.framework.BundleContext;
@@ -321,7 +321,9 @@
     }
 
     public void invokeRemoved(DependencyService service) {
-        // TODO Auto-generated method stub
+        synchronized (m_updateInvokedCache) {
+            m_updateInvokedCache.remove(service);
+        }
     }
 
     public boolean isAutoConfig() {