@antv/g-lite 2.0.11-alpha.5 → 2.0.11-alpha.6

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/index.esm.js CHANGED
@@ -15082,9 +15082,10 @@ var Canvas = /** @class */ (function (_super) {
15082
15082
  // unmount all children
15083
15083
  var root = this.getRoot();
15084
15084
  this.unmountChildren(root);
15085
- if (cleanUp && !fastCleanExistingCanvas) {
15085
+ if (cleanUp) {
15086
15086
  // destroy Document
15087
- this.document.destroy();
15087
+ if (!fastCleanExistingCanvas)
15088
+ this.document.destroy();
15088
15089
  this.getEventService().destroy();
15089
15090
  }
15090
15091
  // destroy services