MCPcopy
hub / github.com/socketio/socket.io / cleanup

Method cleanup

packages/engine.io/lib/server.ts:749–755  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

747 }
748
749 protected cleanup() {
750 if (this.ws) {
751 debug("closing webSocketServer");
752 this.ws.close();
753 // don't delete this.ws because it can be used again if the http server starts listening again
754 }
755 }
756
757 /**
758 * Prepares a request by processing the query string.

Callers 1

closeFunction · 0.45

Calls 2

debugFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected