diff --git a/packages/layers/src/point/models/image.ts b/packages/layers/src/point/models/image.ts index 5f878940a2..50ce206c93 100644 --- a/packages/layers/src/point/models/image.ts +++ b/packages/layers/src/point/models/image.ts @@ -38,6 +38,9 @@ export default class ImageModel extends BaseModel { } public clearModels() { + if(this.texture){ + this.texture.destroy(); + } this.iconService.off('imageUpdate', this.updateTexture); }