We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c35b07 commit 415e2b0Copy full SHA for 415e2b0
1 file changed
src/webgl-preview.ts
@@ -834,14 +834,14 @@ export class WebGLPreview {
834
this.disposables = [];
835
this.controls.dispose();
836
this.renderer.dispose();
837
-
+
838
this.cancelAnimation();
839
840
this.devGui?.destroy();
841
this.devGui = undefined;
842
843
- this.stats.end();
844
- this.stats.dom?.remove();
+ this.stats?.end();
+ this.stats?.dom?.remove();
845
this.stats = undefined;
846
}
847
0 commit comments