fix(runtime): close lifecycle teardown races
This commit is contained in:
@@ -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: () => {},
|
||||
|
||||
Reference in New Issue
Block a user