Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/DeepNotesApp/DeepNotes
/ destroySocket
Method
destroySocket
apps/collab-server/src/sockets.ts:704–714 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
702
}
703
704
destroySocket() {
705
// Terminate socket
706
707
this.socket.aux = null as any;
708
709
this.socket.terminate();
710
711
// Delete socket from room
712
713
this.room?.removeSocket(this.socket);
714
}
715
}
Callers
5
constructor
Method · 0.95
_checkSessionInvalidated
Method · 0.95
setup
Method · 0.95
_handleMessage
Method · 0.95
ws-server.ts
File · 0.45
Calls
1
removeSocket
Method · 0.80
Tested by
no test coverage detected