commit | e768e9b7fd73fd0882a2f9361374dad8c03b685c | [log] [tgz] |
---|---|---|
author | David Jencks <djencks@apache.org> | Sun Feb 10 07:43:08 2013 +0000 |
committer | David Jencks <djencks@apache.org> | Sun Feb 10 07:43:08 2013 +0000 |
tree | 800b75d2e490d55dad91a3e744fe1dcbf6968161 | |
parent | 08793a9942e49a531fdd5a6ffc939a52806aa4a2 [diff] |
FELIX-3890 only try to unbind services we bound, not failed ones git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1444487 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java b/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java index 5ad25ed..01cc286 100644 --- a/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java +++ b/scr/src/main/java/org/apache/felix/scr/impl/manager/DependencyManager.java
@@ -1358,7 +1358,7 @@ m_componentManager.waitForTracked( trackingCount.get() ); for ( RefPair<T> boundRef : refPairs ) { - if ( doUnbind ) + if ( doUnbind && !boundRef.isFailed() ) { invokeUnbindMethod( componentInstance, boundRef, trackingCount.get() ); }