Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docmirror/dev-sidecar
/ onClose
Function
onClose
packages/cli/src/index.js:29–34 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
}
28
29
async
function
onClose () {
30
console.log(
'on sigint '
)
31
await
DevSidecar.api.shutdown()
32
console.log(
'on closed '
)
33
process.exit(0)
34
}
35
process.on(
'SIGINT'
, onClose)
36
37
startup()
Callers
nothing calls this directly
Calls
1
log
Method · 0.80
Tested by
no test coverage detected