@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 +3 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15103,9 +15103,10 @@ var Canvas = /** @class */ (function (_super) {
|
|
|
15103
15103
|
// unmount all children
|
|
15104
15104
|
var root = this.getRoot();
|
|
15105
15105
|
this.unmountChildren(root);
|
|
15106
|
-
if (cleanUp
|
|
15106
|
+
if (cleanUp) {
|
|
15107
15107
|
// destroy Document
|
|
15108
|
-
|
|
15108
|
+
if (!fastCleanExistingCanvas)
|
|
15109
|
+
this.document.destroy();
|
|
15109
15110
|
this.getEventService().destroy();
|
|
15110
15111
|
}
|
|
15111
15112
|
// destroy services
|