Repository: curator Updated Branches: refs/heads/CURATOR-121 51109813e -> 67399386f
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/CURATOR-121 Commit: 67399386f51948ddae898362834d2d3f852c013d Parents: 5110981 Author: Cam McKenzie <[email protected]> Authored: Mon Jul 21 09:57:02 2014 +1000 Committer: Cam McKenzie <[email protected]> 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 ) {
