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

Function cleanup

src/cli/commands/upgrade.ts:395–398  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

393 process.on('SIGTERM', forwardSigterm);
394
395 const cleanup = (): void => {
396 process.removeListener('SIGINT', forwardSigint);
397 process.removeListener('SIGTERM', forwardSigterm);
398 };
399
400 child.on('error', (err) => {
401 cleanup();

Callers 2

runNextFunction · 0.70
requestMethod · 0.50

Calls 1

removeListenerMethod · 0.65

Tested by

no test coverage detected