You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by "tisonkun (via GitHub)" <gi...@apache.org> on 2026/03/16 23:31:44 UTC
Re: [I] [Potential Bug] Implicit creation of ExecutorService in LeaderSelector constructor risks thread leaks [curator]
tisonkun commented on issue #1282:
URL: https://github.com/apache/curator/issues/1282#issuecomment-4071305132
Thanks for reporting this @QiuYucheng2003.
However, I think we're using this flavor in Curator everywhere and it's unreasonable to assume a Closable resource gets garbage-collected without `close`d - this breaks the contract and you can foresee resource leaks.
cc @kezhuw @Randgalt I'm going to close this issue as invalid if there is no more inputs.
--
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-unsubscribe@curator.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org