MCPcopy Create free account
hub / github.com/arctic-cli/interface / shutdown

Function shutdown

packages/arctic/src/cli/cmd/tui/worker.ts:54–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 })
53 },
54 async shutdown() {
55 Log.Default.info("worker shutting down")
56 await Instance.disposeAll()
57 // TODO: this should be awaited, but ws connections are
58 // causing this to hang, need to revisit this
59 server.stop(true)
60 },
61}
62
63Rpc.listen(rpc)

Callers

nothing calls this directly

Calls 1

stopMethod · 0.80

Tested by

no test coverage detected