mirror of https://gitee.com/antv-l7/antv-l7
PointLayer ImageModel频繁调用setData()GPU内存不释放问题
This commit is contained in:
parent
bd31ae7f88
commit
6e90f5a290
|
@ -38,6 +38,9 @@ export default class ImageModel extends BaseModel {
|
|||
}
|
||||
|
||||
public clearModels() {
|
||||
if(this.texture){
|
||||
this.texture.destroy();
|
||||
}
|
||||
this.iconService.off('imageUpdate', this.updateTexture);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue