Эх сурвалжийг харах

[ts][pixi] Empty slotsObject on destroy.

Davide Tantillo 1 жил өмнө
parent
commit
985dd84027

+ 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);
 	}