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

Method componentWillUnmount

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

Source from the content-addressed store, hash-verified

302 }
303
304 componentWillUnmount() {
305 this.closeSocket(false);
306 this.reconnect.cancel();
307 }
308
309 componentDidUpdate(prevProps: Props) {
310 if (this.props.active && !prevProps.active) {

Callers

nothing calls this directly

Calls 2

closeSocketMethod · 0.95
cancelMethod · 0.80

Tested by

no test coverage detected