aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorQix <Qix-@users.noreply.github.com>2022-11-08 09:57:54 +0100
committerGitHub <noreply@github.com>2022-11-08 09:57:54 +0100
commit8a1f378f05eacd1ea7ae4bf2950b7494417fd22b (patch)
tree3a01060c7aaa8b525614e210675aa6fcc19aca6c /docs/src
parentec5130c3f966e76fe11df22fe8a04c8fe862187d (diff)
downloadlibuv-8a1f378f05eacd1ea7ae4bf2950b7494417fd22b.tar.gz
libuv-8a1f378f05eacd1ea7ae4bf2950b7494417fd22b.zip
doc: mention close_cb can be NULL (#3810)
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/handle.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/src/handle.rst b/docs/src/handle.rst
index 0edb7d7a..e91d6e8f 100644
--- a/docs/src/handle.rst
+++ b/docs/src/handle.rst
@@ -153,6 +153,9 @@ API
In-progress requests, like uv_connect_t or uv_write_t, are cancelled and
have their callbacks called asynchronously with status=UV_ECANCELED.
+ `close_cb` can be `NULL` in cases where no cleanup or deallocation is
+ necessary.
+
.. c:function:: void uv_ref(uv_handle_t* handle)
Reference the given handle. References are idempotent, that is, if a handle