mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
fix a leak with htmlcanvaselements (#11979)
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user