Skip to content

Commit

Permalink
[ts][pixi] Empty slotsObject on destroy.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidetan committed Jun 5, 2024
1 parent e290569 commit 985dd84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spine-ts/spine-pixi/src/Spine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ export class Spine extends Container {
this.state.clearListeners();
this.debug = undefined;
this.meshesCache.clear();
this.slotsObject.clear();
super.destroy(options);
}

Expand Down

0 comments on commit 985dd84

Please sign in to comment.