You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that the process hangs indefinitely, however if you remove or comment out the last line (rl.write('Goodbye!\n');) then
the process completes without issues
How often does it reproduce? Is there a required condition?
There are no extra conditions required, the issue is always reproducible
What is the expected behavior? Why is that the expected behavior?
writing in a closing readline interface should throw an ERR_USE_AFTER_CLOSE error in the same way question does:
There is no error, and the process hangs indefinitely
Additional information
There are other operations that can be called on a closed readline interface that I believe should also error, such as pause and resume (what does it mean to pause a closed readline interface?)
Activity
readline: add stricter validation for functions called after closed
readline: add stricter validation for functions called after closed
fix: suppress readline close errors in enquirer adapter for Node.js 22+
fix: skip enquirer cancel callback tests on Node.js 24+
fix: suppress readline close errors in enquirer adapter for Node.js 22+
fix: skip enquirer cancel callback tests on Node.js 24+
perf(deps): update major dependencies (#754)
chore(release): 10.0.0 [skip ci]
chore(release): 4.0.0 [skip ci]
chore(release): 4.0.0 [skip ci]
chore(release): 4.0.0 [skip ci]
Update dependency listr2 to v10 (#2277)