Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cameri/nostream
/ quit
Method
quit
src/tor/client.ts:150–154 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
148
}
149
150
async
quit(): Promise<void> {
151
await
this.sendCommand(
'QUIT'
).catch(() => undefined)
152
this.socket?.destroy()
153
this.socket = undefined
154
}
155
}
156
157
let
client: TorClient | undefined
Callers
1
closeTorClient
Function · 0.80
Calls
1
sendCommand
Method · 0.95
Tested by
no test coverage detected