Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ detachSigint
Function
detachSigint
packages/opencode/src/cli/cmd/run/runtime.lifecycle.ts:294–301 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
292
}
293
294
const
detachSigint = () => {
295
if
(!sigintRegistered) {
296
return
297
}
298
299
process.off(
"SIGINT"
, sigint)
300
sigintRegistered = false
301
}
302
303
attachSigint()
304
Callers
2
createRuntimeLifecycle
Function · 0.85
close
Function · 0.85
Calls
1
off
Method · 0.80
Tested by
no test coverage detected