From cff9583f633a50b75070203fe44455fcdecfc6c0 Mon Sep 17 00:00:00 2001 From: Hongtao Lye Date: Tue, 17 Dec 2024 17:38:51 +0800 Subject: [PATCH] fix: dispose --- .../framework/block-std/src/gfx/model/surface/element-model.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/framework/block-std/src/gfx/model/surface/element-model.ts b/packages/framework/block-std/src/gfx/model/surface/element-model.ts index 5d9272e46ab5..ed6db9e448fd 100644 --- a/packages/framework/block-std/src/gfx/model/surface/element-model.ts +++ b/packages/framework/block-std/src/gfx/model/surface/element-model.ts @@ -270,6 +270,7 @@ export abstract class GfxPrimitiveElementModel< onDestroyed() { this._disposable.dispose(); + this.propsUpdated.dispose(); } pop(prop: keyof Props | string) {