Skip to content

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
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.

2 participants