From e4485ada3cd23ba215e840f3a40f75d90c308f27 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 22 Apr 2026 13:11:56 +0200 Subject: [PATCH] auto-git: [change] src/runtime-three/runtime-host.ts --- src/runtime-three/runtime-host.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 2160fc9c..dfbeb775 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -850,6 +850,9 @@ export class RuntimeHost { } this.materialTextureCache.clear(); + this.dynamicWorldEnvironmentTarget?.dispose(); + this.dynamicWorldEnvironmentTarget = null; + this.pmremGenerator?.dispose(); this.worldBackgroundRenderer.dispose(); this.renderer?.forceContextLoss(); this.renderer?.dispose();