@xviewer.js/core 1.0.0-alpha.50 → 1.0.0-alpha.52

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.
package/dist/main.js CHANGED
@@ -2028,6 +2028,7 @@ const browserName = typeof detectUA.browser === "boolean" ? "" : detectUA.browse
2028
2028
  const audioElem = document.createElement("audio");
2029
2029
  class SystemInfo {
2030
2030
  }
2031
+ SystemInfo.isTablet = detectUA.isTablet;
2031
2032
  SystemInfo.isMobile = detectUA.isMobile || detectUA.isTablet;
2032
2033
  SystemInfo.isDesktop = detectUA.isDesktop;
2033
2034
  SystemInfo.device = SystemInfo.isMobile ? "mobile" : "desktop";
@@ -4612,6 +4613,7 @@ class Viewer extends EventEmitter {
4612
4613
  this._targetFrameRate = Math.max(0.001, v);
4613
4614
  }
4614
4615
  destroy() {
4616
+ this.stop();
4615
4617
  this._renderer.dispose();
4616
4618
  this._taskManager.destroy();
4617
4619
  this._resourceManager.destroy();