MCPcopy Create free account
hub / github.com/QuantaAlpha/claude-code / close

Method close

src/cli/remoteIO.ts:247–254  ·  view source on GitHub ↗

* Clean up connections gracefully

()

Source from the content-addressed store, hash-verified

245 * Clean up connections gracefully
246 */
247 close(): void {
248 if (this.keepAliveTimer) {
249 clearInterval(this.keepAliveTimer)
250 this.keepAliveTimer = null
251 }
252 this.transport.close()
253 this.inputStream.end()
254 }
255}

Callers 1

constructorMethod · 0.95

Calls 2

closeMethod · 0.65
endMethod · 0.45

Tested by

no test coverage detected