diff options
author | Bartosz Sosnowski <bartosz@janeasystems.com> | 2018-09-27 11:51:49 +0200 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-09-30 13:02:11 -0400 |
commit | ee87f34474605b5c2db2870621e8cb72c2043cae (patch) | |
tree | ca83487538403c13a6bb2a4a8f8b4cce70c2b3e7 /docs/src | |
parent | 60abdbaed6c20a41678cd9af1d6f40a1d11bf5e2 (diff) | |
download | libuv-ee87f34474605b5c2db2870621e8cb72c2043cae.tar.gz libuv-ee87f34474605b5c2db2870621e8cb72c2043cae.zip |
win,tty: fix uv_tty_close()
Under some condition, uv_tty_close() would not stop console reads.
This fixes that issue by first stopping read, then closing the
handle.
Fixes: https://github.com/nodejs/node/issues/22999
PR-URL: https://github.com/libuv/libuv/pull/2005
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions