left code commented out
Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/49d08ccc Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/49d08ccc Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/49d08ccc Branch: refs/heads/master Commit: 49d08ccca27113b24bceb74ed372fd7b5910994b Parents: aea4086 Author: randgalt <randg...@apache.org> Authored: Sat Dec 8 19:24:24 2018 -0500 Committer: randgalt <randg...@apache.org> Committed: Sat Dec 8 19:24:24 2018 -0500 ---------------------------------------------------------------------- .../apache/curator/framework/recipes/cache/PathChildrenCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/49d08ccc/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 2ff8a96..bdc73cc 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 @@ -617,7 +617,7 @@ public class PathChildrenCache implements Closeable { if ( state.get().equals(State.CLOSED)) { - // client.removeWatchers(); + client.removeWatchers(); return true; } return false;