Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spawn the extension host directly from the main process because fork() is now fast again #150002

Merged
merged 1 commit into from
May 20, 2022

Conversation

alexdima
Copy link
Member

fork() used to block the event loop for up to 500ms on macOS. This has now been addressed in newer Electron versions, so it is no longer necessary to have a node worker that spawns the extension host, we can spawn the extension host directly from the main process. This will help with adopting the UtilityProcess Electron proposal which is only available on the main process.

@alexdima alexdima enabled auto-merge (squash) May 20, 2022 07:59
@alexdima alexdima self-assigned this May 20, 2022
@VSCodeTriageBot VSCodeTriageBot added this to the May 2022 milestone May 20, 2022
@alexdima alexdima merged commit fc9732a into main May 20, 2022
@alexdima alexdima deleted the alexd/poor-chicken branch May 20, 2022 08:10
@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants