()
| 291 | ); |
| 292 | |
| 293 | componentDidMount() { |
| 294 | if (this.props.detectUnsupervisedBackgroundRef) { |
| 295 | this.props.detectUnsupervisedBackgroundRef( |
| 296 | this.detectUnsupervisedBackground, |
| 297 | ); |
| 298 | } |
| 299 | if (this.props.active) { |
| 300 | this.openSocket('connecting'); |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | componentWillUnmount() { |
| 305 | this.closeSocket(false); |
nothing calls this directly
no test coverage detected