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

Function onSigint

src/bridge/bridgeMain.ts:2651–2654  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2649
2650 const controller = new AbortController()
2651 const onSigint = (): void => {
2652 logForDebugging('[bridge:shutdown] SIGINT received, shutting down')
2653 controller.abort()
2654 }
2655 const onSigterm = (): void => {
2656 logForDebugging('[bridge:shutdown] SIGTERM received, shutting down')
2657 controller.abort()

Callers

nothing calls this directly

Calls 1

logForDebuggingFunction · 0.85

Tested by

no test coverage detected