@esotericsoftware/spine-pixi-v8 4.2.105 → 4.2.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12902,6 +12902,7 @@ var Spine = class _Spine extends ViewContainer {
12902
12902
  }
12903
12903
  /** Sets the ticker to use when {@link autoUpdate} is `true`. If `autoUpdate` is already `true`, the update callback will be moved from the old ticker to the new one. */
12904
12904
  set ticker(value) {
12905
+ value = value ?? Ticker.shared;
12905
12906
  if (this._ticker === value) return;
12906
12907
  if (this._autoUpdate) {
12907
12908
  this._ticker.remove(this.internalUpdate, this);
@@ -13411,6 +13412,7 @@ var Spine = class _Spine extends ViewContainer {
13411
13412
  destroy(options = false) {
13412
13413
  super.destroy(options);
13413
13414
  this._ticker.remove(this.internalUpdate, this);
13415
+ this._ticker = null;
13414
13416
  this.state.clearListeners();
13415
13417
  this.debug = void 0;
13416
13418
  this.skeleton = null;