Skip to content

Commit fa3edad

Browse files
authored
Update packages/core/src/dev/activation.ts
1 parent 1d8698e commit fa3edad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/core/src/dev/activation.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,7 @@ export function forceQuitIde() {
449449
// This current process is the ExtensionHost. Killing it will cause all the extensions to crash
450450
// for the current ExtensionHost (unless using "extensions.experimental.affinity").
451451
// 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.
452+
// The PPID (parent process) is vscode itself, killing it crashes all vscode instances.
454453
const vsCodePid = process.pid
455454
process.kill(vsCodePid, 'SIGKILL') // SIGTERM would be the graceful shutdown
456455
}

0 commit comments

Comments
 (0)