Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix: correct skeleton dispose timing (#2196)

zhangw87e96df32049
diff --git a/packages/engine-render/src/components/sheets/sheet-component.ts b/packages/engine-render/src/components/sheets/sheet-component.ts
index e4f7bf1096..03becca9a7 100644
--- a/packages/engine-render/src/components/sheets/sheet-component.ts
+++ b/packages/engine-render/src/components/sheets/sheet-component.ts
@@ -91,7 +91,6 @@ export class SheetComponent extends RenderComponent<SpreadsheetSkeleton, SHEET_E
*/
override dispose() {
super.dispose();
- this._skeleton?.dispose();
this._skeleton = null as unknown as SpreadsheetSkeleton;
}
}