MCPcopy
hub / github.com/codeaashu/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}
256
257

Callers 15

constructorMethod · 0.95
loadRejectionDiffFunction · 0.45
callFunction · 0.45
disposeKeybindingWatcherFunction · 0.45
loadDiffDataFunction · 0.45
writeFileAndFlushFunction · 0.45
rebuildTransportFunction · 0.45
teardownFunction · 0.45
createV1ReplTransportFunction · 0.45
closeFunction · 0.45
setOnCloseFunction · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected