kezhuw commented on code in PR #520: URL: https://github.com/apache/curator/pull/520#discussion_r1915847673
########## curator-recipes/src/main/java/org/apache/curator/framework/recipes/watch/PersistentWatcher.java: ########## @@ -135,6 +150,8 @@ private void reset() { .inBackground(callback) .usingWatcher(watcher) .forPath(basePath); + } catch (CuratorClosedException ignored) { + onClientClosed(); Review Comment: `CuratorClosedException` means `CuratorFramework::close` has been called. It is different with `PersistentWatcher::close`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@curator.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org