From commits-return-10027-archive-asf-public=cust-asf.ponee.io@aries.apache.org Tue Feb 6 15:24:08 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id A9737180657 for ; Tue, 6 Feb 2018 15:24:08 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 992FE160C3A; Tue, 6 Feb 2018 14:24:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E2202160C34 for ; Tue, 6 Feb 2018 15:24:07 +0100 (CET) Received: (qmail 86310 invoked by uid 500); 6 Feb 2018 14:24:02 -0000 Mailing-List: contact commits-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list commits@aries.apache.org Received: (qmail 86299 invoked by uid 99); 6 Feb 2018 14:24:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2018 14:24:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id DF197DFAB9; Tue, 6 Feb 2018 14:24:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cschneider@apache.org To: commits@aries.apache.org Date: Tue, 06 Feb 2018 14:24:01 -0000 Message-Id: <25f443d38b0c4628b851eb86507e115b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] aries-rsa git commit: [ARIES-1763] Fix for instance closed 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 Authored: Tue Feb 6 14:40:39 2018 +0100 Committer: Christian Schneider 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;