先上源码
destroy(destroyChild: boolean = true): void {
this.stop();
super.destroy(destroyChild);
this._frames = null;
this._labels = null;
}
animation的destory方法,只是将_frames赋值为null,并没有对_frames的graphics进行destroy, 这样会导致动画的图集引用计数不会减少。
不知道这样设计是BUG,还是有其他方面的考虑,如果有其他方面考虑,麻烦回复一下
