Skip to content

Commit

Permalink
Revert "Remove all event listeners on close to avoid memory leak (#808)…
Browse files Browse the repository at this point in the history
…" (#813)

705e9cc
  • Loading branch information
chrisdothtml authored and SBoudrias committed Jun 21, 2019
1 parent 5f0b513 commit aeab66e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/inquirer/lib/prompts/base.js
Expand Up @@ -78,7 +78,6 @@ class Prompt {
*/
close() {
this.screen.releaseCursor();
this.rl.input.removeAllListeners();
}

/**
Expand Down

0 comments on commit aeab66e

Please sign in to comment.