Skip to content

Implement a watch-dog mechanism which can kill runaway extension host processes #26445

@alexdima

Description

@alexdima

In certain circumstances, e.g. extension that does while (true) loop, the extension host process will not terminate unless killed via task manager.

Implement a watch-dog mechanism that can kill runaway extension host processes.

NB: This was not an issue on Windows until we made the process be forked with the detached option to allow 5s for the extensions to gracefully shut down.

Metadata

Metadata

Assignees

Labels

extensionsIssues concerning extensionson-testplanplan-itemVS Code - planned item for upcoming

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions