aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject [1/2] aries-rsa git commit: [ARIES-1763] Fix for instance closed
Date Tue, 06 Feb 2018 14:24:01 GMT
Repository: aries-rsa
Updated Branches:
  refs/heads/master c6ae62d31 -> b7597a4f1


[ARIES-1763] Fix for instance closed


Project: http://git-wip-us.apache.org/repos/asf/aries-rsa/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-rsa/commit/7c1b4107
Tree: http://git-wip-us.apache.org/repos/asf/aries-rsa/tree/7c1b4107
Diff: http://git-wip-us.apache.org/repos/asf/aries-rsa/diff/7c1b4107

Branch: refs/heads/master
Commit: 7c1b4107fa7552da16f60a7daadb1258adff773d
Parents: c6ae62d
Author: Christian Schneider <cschneid@adobe.com>
Authored: Tue Feb 6 14:40:39 2018 +0100
Committer: Christian Schneider <cschneid@adobe.com>
Committed: Tue Feb 6 14:40:39 2018 +0100

----------------------------------------------------------------------
 .../java/org/apache/aries/rsa/core/ImportRegistrationImpl.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-rsa/blob/7c1b4107/rsa/src/main/java/org/apache/aries/rsa/core/ImportRegistrationImpl.java
----------------------------------------------------------------------
diff --git a/rsa/src/main/java/org/apache/aries/rsa/core/ImportRegistrationImpl.java b/rsa/src/main/java/org/apache/aries/rsa/core/ImportRegistrationImpl.java
index a6d5a95..86ebf5e 100644
--- a/rsa/src/main/java/org/apache/aries/rsa/core/ImportRegistrationImpl.java
+++ b/rsa/src/main/java/org/apache/aries/rsa/core/ImportRegistrationImpl.java
@@ -107,7 +107,7 @@ public class ImportRegistrationImpl implements ImportRegistration, ImportReferen
         ensureParent();
         synchronized (this) {
             children.remove(iri);
-            if (!children.isEmpty() || detached || !closed.get()) {
+            if (!children.isEmpty() || detached || !closing.get()) {
                 return;
             }
             detached = true;


Mime
View raw message