-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Labels
electron-16-updateIssues related to electron 16 updateIssues related to electron 16 updatefeature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insiderson-testplansandboxRunning VSCode in a node-free environmentRunning VSCode in a node-free environmentworkbench-electronElectron-VS Code issuesElectron-VS Code issues
Milestone
Description
We currently have process reuse disabled in main.js
, but considering how the native modules we use are now context-aware, we can start looking more into enabling process reuse.
There are other processes to look into, but for now, I would like to concentrate just on the extensionHost and watcherService. For those, I'm wondering
- Are the processes killed + restarted during a reload?
- Are the processes killed + restarted when a user opens a new folder or workspace? I'm currently trying to see if such actions are equivalent to a reload right now, but haven't yet found the code.
- If yes to 1 and/or 2, can they be set up in a way using IPC such that the main process can send a reset signal during reloads? This way, we can continue using the same child process, and it's just the state of the child process that gets reset.
Metadata
Metadata
Assignees
Labels
electron-16-updateIssues related to electron 16 updateIssues related to electron 16 updatefeature-requestRequest for new features or functionalityRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insiderson-testplansandboxRunning VSCode in a node-free environmentRunning VSCode in a node-free environmentworkbench-electronElectron-VS Code issuesElectron-VS Code issues