()
| 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) { |
nothing calls this directly
no test coverage detected