You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by "ZihuanLing (via GitHub)" <gi...@apache.org> on 2024/04/24 07:41:13 UTC

Re: [PR] ZOOKEEPER-4736: fix fd leak [zookeeper]

ZihuanLing commented on PR #2047:
URL: https://github.com/apache/zookeeper/pull/2047#issuecomment-2074286900

   Why not just invoke `selector.select` method after `cleanup`? After `selector.select`, the canceled sockKey will be removed from selector.keys, and fd will be released.


-- 
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: notifications-unsubscribe@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org