MCPcopy
hub / github.com/claude-code-best/claude-code / close

Method close

src/cli/remoteIO.ts:250–257  ·  view source on GitHub ↗

* Clean up connections gracefully

()

Source from the content-addressed store, hash-verified

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

Callers 1

constructorMethod · 0.95

Calls 2

closeMethod · 0.65
endMethod · 0.45

Tested by

no test coverage detected