diff options
author | Jameson Nash <vtjnash@gmail.com> | 2021-07-13 10:54:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-13 10:54:02 -0400 |
commit | 03f1a6979caff380bfcfcd1293390474eaad6164 (patch) | |
tree | 61c1e5e163baad38e5031c18eecb8565edc753a1 /docs/src | |
parent | e49ef4f309e631e2ecbeb7ff4397b0b073da681c (diff) | |
download | libuv-03f1a6979caff380bfcfcd1293390474eaad6164.tar.gz libuv-03f1a6979caff380bfcfcd1293390474eaad6164.zip |
unix,stream: fix loop hang after uv_shutdown
While most users will likely typically call uv_close in their
uv_shutdown callback, some callers (notable nodejs) do not always do
so. This can result in libuv keeping the loop active, even though there
are no outstanding reqs left to handle.
This bug was added in 80f2f826bf90b84e659321c0b7fd8af419acb85e, where
the premise of that commit appears to have simply been incorrect, as
demonstrated by the added test.
Refs: https://github.com/libuv/libuv/issues/3202
PR-URL: https://github.com/libuv/libuv/pull/3233
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions