You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, we asked to close the `async` notifier after the loop had
stopped. Presumably because the loop wasn't running, this close
operation never ran, which leaked some FDs. Also, the `Loop.close` it
was supposed to call after closing itself never got called either.
Once that was fixed, `Loop.close` reported further resource leaks in the
Poll and Process modules, which this commit also fixes.
Fixesocaml-multicore#419.
Previously, we asked to close the `async` notifier after the loop had
stopped. Presumably because the loop wasn't running, this close
operation never ran, which leaked some FDs. Also, the `Loop.close` it
was supposed to call after closing itself never got called either.
Once that was fixed, `Loop.close` reported further resource leaks in
`Poll`, `Process`, `sleep_ms` and `domain_mgr`, which this commit also
fixes.
Fixesocaml-multicore#419.
Co-authored-by: Patrick Ferris <patrick@sirref.org>
This program fails with
EMFILE
after a bit:I suspect it's not closing async and the loop in the right order.
The text was updated successfully, but these errors were encountered: