()
| 133 | } |
| 134 | |
| 135 | componentWillUnmount() { |
| 136 | this._stopLoop(); |
| 137 | this._destroyGL(); |
| 138 | const i = _instances.indexOf(this); |
| 139 | if (i !== -1) _instances.splice(i, 1); |
| 140 | this.getVisitors().forEach((v) => v.onSurfaceUnmount(this as any)); |
| 141 | } |
| 142 | |
| 143 | componentDidUpdate() { |
| 144 | this.redraw(); |
nothing calls this directly
no test coverage detected