MCPcopy
hub / github.com/electerm/electerm / kill

Method kill

src/app/server/session-ftp.js:65–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 }
64
65 kill () {
66 Object.values(this.transfers).forEach(transfer => {
67 transfer?.destroy?.()
68 })
69 this.transfers = {}
70 super.onEndConn()
71 }
72
73 async getHomeDir () {
74 return this.withOperationClient(client => client.pwd())

Calls 2

onEndConnMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected