commit | 5376abec50e8019030097422a5a2448150da93d4 | [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 | 6e8d3b6c4021993bf2f07261100e335591ea29c5 [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() ); }