[ts][pixi] Empty slotsObject on destroy.

This commit is contained in:
Davide Tantillo 2024-06-05 16:57:05 +02:00
parent e290569748
commit 985dd84027

View File

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