@univerjs/engine-render 0.10.10 → 0.10.11

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/lib/es/index.js CHANGED
@@ -42506,7 +42506,7 @@ class e3 {
42506
42506
  dispose() {
42507
42507
  this._children.forEach((t) => {
42508
42508
  t.dispose();
42509
- }), this._textRunsCache.clear(), this._paragraphCache.clear(), this._sectionBreakCache.clear(), this._customBlockCache.clear(), this._tableCache.clear(), this._tableNodeCache.clear();
42509
+ }), this._textRunsCache.clear(), this._paragraphCache.clear(), this._sectionBreakCache.clear(), this._customBlockCache.clear(), this._tableCache.clear(), this._tableNodeCache.clear(), this._segmentViewModels$.complete(), this._editAreaChange$.complete();
42510
42510
  }
42511
42511
  getHeaderFooterTreeMap() {
42512
42512
  return {
@@ -63630,7 +63630,7 @@ let z0 = class extends D2 {
63630
63630
  return this._renderContext.components;
63631
63631
  }
63632
63632
  dispose() {
63633
- this._injector.dispose(), super.dispose(), this._activated$.next(!1), this._activated$.complete();
63633
+ this._injector.dispose(), super.dispose(), this._activated$.next(!1), this._activated$.complete(), this._renderContext.unit = null, this._renderContext.components.clear();
63634
63634
  }
63635
63635
  /**
63636
63636
  * Get a dependency from the RenderUnit's injector.
package/lib/index.js CHANGED
@@ -42506,7 +42506,7 @@ class e3 {
42506
42506
  dispose() {
42507
42507
  this._children.forEach((t) => {
42508
42508
  t.dispose();
42509
- }), this._textRunsCache.clear(), this._paragraphCache.clear(), this._sectionBreakCache.clear(), this._customBlockCache.clear(), this._tableCache.clear(), this._tableNodeCache.clear();
42509
+ }), this._textRunsCache.clear(), this._paragraphCache.clear(), this._sectionBreakCache.clear(), this._customBlockCache.clear(), this._tableCache.clear(), this._tableNodeCache.clear(), this._segmentViewModels$.complete(), this._editAreaChange$.complete();
42510
42510
  }
42511
42511
  getHeaderFooterTreeMap() {
42512
42512
  return {
@@ -63630,7 +63630,7 @@ let z0 = class extends D2 {
63630
63630
  return this._renderContext.components;
63631
63631
  }
63632
63632
  dispose() {
63633
- this._injector.dispose(), super.dispose(), this._activated$.next(!1), this._activated$.complete();
63633
+ this._injector.dispose(), super.dispose(), this._activated$.next(!1), this._activated$.complete(), this._renderContext.unit = null, this._renderContext.components.clear();
63634
63634
  }
63635
63635
  /**
63636
63636
  * Get a dependency from the RenderUnit's injector.