Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new luv_cleanup to handle cleanup of non-gc resources #755

Closed
wants to merge 1 commit into from

Conversation

truemedian
Copy link
Member

This adds a solution to the problem of cleaning up luv resources when using an external uv_loop_t in cases such as neovim introduced by moving work cleanup into the __gc for the loop.

This function is necessary for external loops to not leak memory when luv is no longer in use.

Likely solution for #754.

Associated with the merging of this PR a note should be placed on the previous release about the introduction of this issue and that the solution is to update and use this function.

This adds a solution to the problem of cleaning up
luv resources when using an external uv_loop_t in
cases such as neovim.

This function is necessary for external loops to
not leak memory when luv is no longer in use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant