MCPcopy Index your code
hub / github.com/coder/code-server / close

Method close

test/e2e/models/CodeServer.ts:248–255  ·  view source on GitHub ↗

* Close the code-server process.

()

Source from the content-addressed store, hash-verified

246 * Close the code-server process.
247 */
248 async close(): Promise<void> {
249 logger.debug("closing")
250 if (this.process) {
251 const proc = (await this.process).process
252 this.closed = true // To prevent the close handler from erroring.
253 proc.kill()
254 }
255 }
256
257 /**
258 * Whether or not authentication is enabled.

Callers 1

describeFunction · 0.95

Calls

no outgoing calls

Tested by 1

describeFunction · 0.76