fix(runtime): close lifecycle teardown races

This commit is contained in:
Tianyi Cui
2026-07-29 02:40:02 +08:00
parent c17727d43d
commit 32bce339da
20 changed files with 233 additions and 36 deletions

View File

@@ -111,6 +111,7 @@ describe('LocalSubprocessService', () => {
foregroundPgid: () => undefined,
isStdinWaiting: () => false,
processTree: () => [],
processSession: () => [],
isAlive: () => false,
signalGroup: () => {},
signalProcess: () => {},
@@ -175,6 +176,7 @@ describe('LocalSubprocessService', () => {
foregroundPgid: () => 123,
isStdinWaiting: () => false,
processTree: () => [{ pid: 124, started: 'child' }],
processSession: () => [],
isAlive: identity => alive.has(identity.pid),
signalGroup: () => {},
signalProcess: () => {},