Skip to content

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 26, 2025

Fixed #31161.

Description

The PR makes sure GPU resources are properly released.

Although only the geometry memory grows over time, it seems more consistent with other examples to dispose of the entire scene that is created by loadSVG().

@Mugen87 Mugen87 added this to the r177 milestone May 26, 2025
@Mugen87 Mugen87 merged commit 7961810 into mrdoob:dev May 26, 2025
11 checks passed
@Mugen87 Mugen87 changed the title Examples: Fix memory leak in SVG. Examples: Fix memory leak in SVG demo. May 28, 2025
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 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.

webgl_loader_svg.html does not dispose of GPU resources
1 participant