Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Child processes are not terminated #195

Open
@schulzch

Description

@schulzch

Judging from the sources no child process seems to get killed if VS code exits - this is especially annoying if rls hangs on a laptop eating up battery unnoticed (e.g. #186 and friends). I guess one way to fix this would be by adding an exit handler like this:

process.on('exit', function() {
    child.kill();
});

The question is if you want to do this for all child processes or at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions