Commit 81ddeb98 authored by Gibson Fahnestock's avatar Gibson Fahnestock Committed by James M Snell
Browse files

readline: clean up event listener in onNewListener

Once the Readline interface is closed, the 'data' event listener should
be removed.

PR-URL: https://github.com/nodejs/node/pull/13266
Ref: https://github.com/nodejs/node/pull/9447#discussion_r86599214


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent bccda4f2
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