MCPcopy Create free account
hub / github.com/codeaashu/claude-code / cleanup

Function cleanup

src/utils/nativeInstaller/pidLock.ts:310–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308
309 // Register cleanup on process exit
310 const cleanup = () => {
311 try {
312 release()
313 } catch {
314 // Ignore errors during process exit
315 }
316 }
317
318 process.on('exit', cleanup)
319 process.on('SIGINT', cleanup)

Callers

nothing calls this directly

Calls 1

releaseFunction · 0.50

Tested by

no test coverage detected