Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

readline: No way to completely unhook interface from input/output #3756

Closed
isaacs opened this issue Jul 24, 2012 · 0 comments
Closed

readline: No way to completely unhook interface from input/output #3756

isaacs opened this issue Jul 24, 2012 · 0 comments

Comments

@isaacs
Copy link

isaacs commented Jul 24, 2012

If you create a readline interface, there is no way to remove the event listeners it attaches to its input and output streams.

This can lead to memory leaks, but it also makes it difficult to have a readline interface just for a little while, and then remove it so that some other readline interface can use the same input stream or output stream. They end up getting all mixed up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant