Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: clarify expected memory management strategy
Right now, docs don't make it clear when exactly does it become okay to free memory belonging to `uv_handle_t`. It's only stated that `uv_close` must be called before freeing the memory, which is a source of confusion for new users: they call `uv_close(handle, NULL)`, then free the memory (see e.g. libuv#2078, https://stackoverflow.com/q/25615340). PR-URL: libuv#2087 Reviewed-By: Ben Noordhuis <[email protected]>
- Loading branch information