Return-Path: X-Original-To: apmail-curator-commits-archive@minotaur.apache.org Delivered-To: apmail-curator-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56DA411EA7 for ; Mon, 21 Jul 2014 00:30:13 +0000 (UTC) Received: (qmail 45897 invoked by uid 500); 21 Jul 2014 00:30:13 -0000 Delivered-To: apmail-curator-commits-archive@curator.apache.org Received: (qmail 45827 invoked by uid 500); 21 Jul 2014 00:30:13 -0000 Mailing-List: contact commits-help@curator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@curator.apache.org Delivered-To: mailing list commits@curator.apache.org Received: (qmail 45811 invoked by uid 99); 21 Jul 2014 00:30:13 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Jul 2014 00:30:13 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E2E659A6325; Mon, 21 Jul 2014 00:30:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cammckenzie@apache.org To: commits@curator.apache.org Date: Mon, 21 Jul 2014 00:30:13 -0000 Message-Id: In-Reply-To: <51a4dccd94184c0fbc20737cb24a8eba@git.apache.org> References: <51a4dccd94184c0fbc20737cb24a8eba@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: COMM-121 - Reset interrupted status when catching InterruptedException. COMM-121 - Reset interrupted status when catching InterruptedException. Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/67399386 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/67399386 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/67399386 Branch: refs/heads/master Commit: 67399386f51948ddae898362834d2d3f852c013d Parents: 5110981 Author: Cam McKenzie Authored: Mon Jul 21 09:57:02 2014 +1000 Committer: Cam McKenzie Committed: Mon Jul 21 09:57:02 2014 +1000 ---------------------------------------------------------------------- .../apache/curator/framework/recipes/cache/PathChildrenCache.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/67399386/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java ---------------------------------------------------------------------- diff --git a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java index 077cfb3..ad433d8 100644 --- a/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java +++ b/curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCache.java @@ -769,6 +769,8 @@ public class PathChildrenCache implements Closeable { handleException(e); } + + Thread.currentThread().interrupt(); } catch ( Exception e ) {