Skip to content

Incorrect exit lifecycle for utility process #196823

@deepak1556

Description

@deepak1556

#194477 revealed that utility process will send faulty exit events while the process is still active, this is because the exit handler based on message channel will get fired first and if the process were to crash during destruction of node::Environment which happens later then it will not be propagated.

Secondly, due to lack to isolate termination we allow entering JS when cleaning up pending tasks during node::Environment cleanup which can lead to crashes or deadlocks.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugelectronIssues and items related to ElectronupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions