Unverified Commit 43fd1d79 authored by Anna Henningsen's avatar Anna Henningsen
Browse files

src: reset TTY mode before cleaning up resources

Otherwise, closing all handles associated with the main
event loop would also mean that `uv_tty_reset_mode()`
can’t function properly because the corresponding FDs have
already been closed.

Fixes: https://github.com/nodejs/node/issues/21020
PR-URL: https://github.com/nodejs/node/pull/21257


Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
parent cea10baa
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment