Skip to content

Commit 7a2059b

Browse files
authored
Remove MiniStats div from DOM on destroy (#8069)
1 parent b6ae981 commit 7a2059b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extras/mini-stats/mini-stats.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ class MiniStats {
143143
this.graphs.forEach(graph => graph.destroy());
144144
this.wordAtlas.destroy();
145145
this.texture.destroy();
146+
this.div.remove();
146147
}
147148

148149
/**

0 commit comments

Comments
 (0)