MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / cleanup

Function cleanup

telemetry-dashboard/scripts/render-check.mjs:200–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198let profileDir = null;
199
200function cleanup() {
201 for (const child of children) {
202 try {
203 child.kill('SIGTERM');
204 } catch {
205 /* already gone */
206 }
207 }
208 if (profileDir) rmSync(profileDir, { recursive: true, force: true });
209}
210process.on('exit', cleanup);
211process.on('SIGINT', () => process.exit(130));
212

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected