fix a leak with htmlcanvaselements (#11979)

This commit is contained in:
mikecoker
2022-07-20 10:05:56 -05:00
committed by GitHub
parent d5f77d0af1
commit ca7a3e35af
+1
View File
@@ -144,6 +144,7 @@ class LetterTexture {
public destroy () {
this.image = null;
// Label._canvasPool.put(this._data);
CanvasPool.getInstance().put(this.data as ISharedLabelData);
}
private _updateProperties () {