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

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

@isaacs

Description

@isaacs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions