Fix descriptor leak on thread cancellation for the Lwt client#446
Fix descriptor leak on thread cancellation for the Lwt client#446hcarty wants to merge 1 commit intomirage:masterfrom hcarty:lwt-client-close-fds
Conversation
|
I'm convinced that such a change should go in. However, what about adding this logic inside Also, perhaps it makes sense to use |
|
The change could use Is it safe to call |
|
I believe that I think [1] https://github.com/rgrinberg/lwt/blob/master/src/core/lwt_stream.mli#L227-L230 |
|
I've updated the change to wrap |
|
Merged in #447 Thanks |
I've been testing this patch on an internal project and haven't seen any leaks since it was applied.
Possibly related to #414.