1
0
mirror of https://github.com/libuv/libuv synced 2025-03-28 21:13:16 +00:00

doc: add warning about uv_close

This commit is contained in:
Saúl Ibarra Corretgé 2024-07-02 09:10:55 +02:00
parent 511315db04
commit 9e3644f9f5

View File

@ -156,6 +156,10 @@ API
`close_cb` can be `NULL` in cases where no cleanup or deallocation is
necessary.
.. warning::
Calling this function multiple times is not supported and will produce
a crash.
.. c:function:: void uv_ref(uv_handle_t* handle)
Reference the given handle. References are idempotent, that is, if a handle