Skip to content

Commit fac931e

Browse files
AliceLannisteQiu-Jun
authored andcommitted
feat(plugin): remove event observer
1 parent f53ef2b commit fac931e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/plugin/WorkspacePlugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ class WorkspacePlugin implements IPluginTempl {
225225

226226
destroy() {
227227
this.resizeObserver.disconnect();
228+
this.canvas.off();
228229
console.log('pluginDestroy');
229230
}
230231
}

0 commit comments

Comments
 (0)