Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agent-tower/core
/ destroy
Method
destroy
packages/server/src/socket/socket-gateway.ts:33–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
private readonly terminalManager: TerminalManager
32
) {
33
this.registerEventBusForwarders();
34
}
35
36
destroy(): void {
37
for
(
const
cleanup of this.cleanups) {
38
cleanup();
39
}
40
this.cleanups = [];
41
}
Callers
6
terminalRoutes
Function · 0.45
writeUpgradeError
Function · 0.45
requestWebSocketUpgrade
Function · 0.45
initializeSocket
Function · 0.45
closeSocket
Function · 0.45
socket-gateway.test.ts
File · 0.45
Calls
1
cleanup
Function · 0.50
Tested by
1
requestWebSocketUpgrade
Function · 0.36