Skip to content

Commit 26e5919

Browse files
committed
minor leak fix
1 parent 4fa208a commit 26e5919

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/j3d/scenes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export class BasicRenderer implements Viewer.SceneGfx {
9797
}
9898

9999
public destroy(device: GfxDevice): void {
100+
this.textureHolder.destroy(device);
100101
this.renderHelper.destroy();
101102
for (let i = 0; i < this.modelInstances.length; i++)
102103
this.modelInstances[i].destroy(device);

0 commit comments

Comments
 (0)