diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a2004601..efbde5933 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -336,6 +336,7 @@ * Added `SpinePlayerConfig.draw`. If set, the callback is called each frame, just after the skeleton is drawn. * Added `SpinePlayerConfig.downloader`. The `spine.Downloader` instance can be shared between players so assets are only downloaded once. * If `SpinePlayerConfig.jsonURL` ends with an anchor, the anchor text is used to find the skeleton in the specified JSON file. +* Added `SpinePlayer.dispose()`, disposes all CPU and GPU side resources, removes all listeners, and removes the player DOM from the parent. # 3.8 diff --git a/spine-ts/index.html b/spine-ts/index.html index 553914515..1d8787794 100644 --- a/spine-ts/index.html +++ b/spine-ts/index.html @@ -21,6 +21,7 @@
  • Embedding binary
  • Embedding JSON
  • Editor
  • +
  • Disposing a player
  • WebGL