We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b413437 commit 9adde0bCopy full SHA for 9adde0b
packages/core/src/dev/activation.ts
@@ -449,8 +449,7 @@ export function forceQuitIde() {
449
// This current process is the ExtensionHost. Killing it will cause all the extensions to crash
450
// for the current ExtensionHost (unless using "extensions.experimental.affinity").
451
// The IDE instance itself will remaing running, but a new ExtHost will spawn within it.
452
- // The PPID does not seem to be the IDE instance but the root VS Code process, killing
453
- // this crashes all VS Code instances.
+ // The PPID (parent process) is vscode itself, killing it crashes all vscode instances.
454
const vsCodePid = process.pid
455
process.kill(vsCodePid, 'SIGKILL') // SIGTERM would be the graceful shutdown
456
}
0 commit comments