Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Aug 18, 2025

Fixed #31680.

Description

Makes sure Renderer.dispose() handles the case when the method is called without an initialized renderer.

@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 338.91
79.1
338.91
79.1
+0 B
+0 B
WebGPU 575.53
158.8
575.55
158.81
+26 B
+2 B
WebGPU Nodes 574.14
158.56
574.16
158.56
+26 B
+1 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 470.7
113.91
470.7
113.91
+0 B
+0 B
WebGPU 646.58
174.86
646.61
174.86
+26 B
+1 B
WebGPU Nodes 600.76
164.04
600.79
164.04
+26 B
+1 B

@Mugen87 Mugen87 merged commit f4abfe0 into mrdoob:dev Aug 18, 2025
9 checks passed
@Mugen87 Mugen87 added this to the r180 milestone Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebGPURenderer.dispose() null pointer exception

1 participant