Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGPURenderer: Fix Renderer dispose() #27471

Merged
merged 2 commits into from Dec 30, 2023

Conversation

RenaudRohlinger
Copy link
Collaborator

@RenaudRohlinger RenaudRohlinger commented Dec 30, 2023

WeakMap.clear() is deprecated and doesn't exist anymore in most web browsers.
this._properties is currently always null.

This contribution is funded by Utsubo

@Mugen87
Copy link
Collaborator

Mugen87 commented Dec 30, 2023

this._properties is currently always null.

In this case, I would also remove its definition from the ctor.

@Mugen87 Mugen87 added this to the r161 milestone Dec 30, 2023
@RenaudRohlinger
Copy link
Collaborator Author

Alright, done!

@Mugen87 Mugen87 merged commit eda87b2 into mrdoob:dev Dec 30, 2023
11 checks passed
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
* fix dispose

* temporary remove _properties
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.

None yet

2 participants