You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ca...@apache.org on 2014/07/21 02:30:13 UTC
[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 <ca...@apache.org>
Authored: Mon Jul 21 09:57:02 2014 +1000
Committer: Cam McKenzie <ca...@apache.org>
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 )
{