MCPcopy 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

constructorMethod · 0.95
setupMethod · 0.95
_handleMessageMethod · 0.95
ws-server.tsFile · 0.45

Calls 1

removeSocketMethod · 0.80

Tested by

no test coverage detected