Node.js readline.question still prompts question after readline.closeΒ #42450
Copy link
Copy link
Closed
Labels
readlineIssues and PRs related to the built-in readline module.Issues and PRs related to the built-in readline module.
Description
Activity
- addedfeature requestIssues requesting new Node.js features.Issues requesting new Node.js features.
on Mar 24, 2022 - changed the title
[-]Node.js readline.question still prompts question when readline.close[/-][+]Node.js readline.question still prompts question after readline.close[/+]on Mar 24, 2022 - addedreadlineIssues and PRs related to the built-in readline module.Issues and PRs related to the built-in readline module.feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.and removedfeature requestIssues requesting new Node.js features.Issues requesting new Node.js features.
on Mar 24, 2022 @nodejs/readline
- removedfeature requestIssues requesting new Node.js features.Issues requesting new Node.js features.
on Apr 4, 2022 - added a commit that references this issue
on Apr 8, 2022 - added a commit that references this issue
on Apr 25, 2022
Metadata
Metadata
Assignees
Labels
readlineIssues and PRs related to the built-in readline module.Issues and PRs related to the built-in readline module.
What is the problem this feature will solve?
When I close readline,
readline.questionstill prompts the question, but the callback won't be called and the process hangs!What is the feature you are proposing to solve the problem?
If
readline.close()I think it is betterreadline.questionnot prompt, so no hang either.What alternatives have you considered?
No response