MCPcopy Create free account
hub / github.com/CommE2E/comm / cleanUpServerTerminatedSocket

Method cleanUpServerTerminatedSocket

lib/socket/socket.react.js:797–803  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

795 };
796
797 cleanUpServerTerminatedSocket() {
798 if (this.socket && this.socket.readyState < 2) {
799 this.socket.close();
800 } else {
801 this.onClose();
802 }
803 }
804
805 detectUnsupervisedBackground: (alreadyClosed: boolean) => boolean =
806 alreadyClosed => {

Callers 1

SocketClass · 0.95

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected