libuv/docs
Ben Noordhuis 72fe3543fe unix,win: add uv_library_shutdown()
Make it possible to explicitly tell libuv to release any resources
it's still holding onto (memory, threads, file descriptors, etc.)

Before this commit, cleanup was performed in various destructors.
This commit centralizes the cleanup logic, enabling the addition of
`uv_library_shutdown()`, but maintains the current observable behavior
of cleaning up when libuv is unloaded by means of `dlclose(3)`.

Fixes: https://github.com/libuv/libuv/issues/2763
PR-URL: https://github.com/libuv/libuv/pull/2764
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2020-04-22 12:24:36 +02:00
..
code stream: autodetect direction 2018-09-19 18:19:28 +02:00
src unix,win: add uv_library_shutdown() 2020-04-22 12:24:36 +02:00
make.bat doc: add API documentation 2014-09-11 09:38:35 +02:00
Makefile doc: fix generation the first time livehtml runs 2016-05-26 09:48:28 +02:00