We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1a7641 commit 2b131e3Copy full SHA for 2b131e3
1 file changed
src/platforms/ios/runner-session.ts
@@ -192,7 +192,9 @@ async function stopRunnerSessionInternal(
192
new Promise<void>((resolve) => setTimeout(resolve, RUNNER_STOP_WAIT_TIMEOUT_MS)),
193
]);
194
} catch {}
195
- await killRunnerProcessTree(session.child.pid, 'SIGKILL');
+ if (isRunnerProcessAlive(session.child.pid)) {
196
+ await killRunnerProcessTree(session.child.pid, 'SIGKILL');
197
+ }
198
cleanupTempFile(session.xctestrunPath);
199
cleanupTempFile(session.jsonPath);
200
await session.simulatorSetRedirect?.release();
0 commit comments