MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / stopDetachedHelper

Function stopDetachedHelper

src/utils/simulator-steps.ts:302–313  ·  view source on GitHub ↗
(child: ChildProcess)

Source from the content-addressed store, hash-verified

300}
301
302function stopDetachedHelper(child: ChildProcess): void {
303 try {
304 child.kill?.('SIGTERM');
305 } catch {
306 // Best-effort cleanup for detached helpers.
307 }
308 try {
309 child.unref();
310 } catch {
311 // Best-effort event-loop release for detached helpers.
312 }
313}
314
315function renameHelperLogPathOrThrow(
316 currentPath: string,

Callers 2

startTrackedOsLogStreamFunction · 0.85

Calls 1

killMethod · 0.65

Tested by

no test coverage detected