浏览代码

[ts][pixi] Empty slotsObject on destroy.

Davide Tantillo 1 年之前
父节点
当前提交
985dd84027
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      spine-ts/spine-pixi/src/Spine.ts

+ 1 - 0
spine-ts/spine-pixi/src/Spine.ts

@@ -199,6 +199,7 @@ export class Spine extends Container {
 		this.state.clearListeners();
 		this.debug = undefined;
 		this.meshesCache.clear();
+		this.slotsObject.clear();
 		super.destroy(options);
 	}