An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/pull/18085
Vanessacabe2c70debb
diff --git a/app/src/window/closeWin.ts b/app/src/window/closeWin.tsindex c2027560d6..850e26c333 100644--- a/app/src/window/closeWin.ts+++ b/app/src/window/closeWin.ts@@ -7,7 +7,11 @@ export const closeWindow = async (app: App) => {const plugin = app.plugins[i];try {await plugin.onunload();- await plugin.kernel.destroy();+ } catch (e) {+ console.error(e);+ }+ try {+ await plugin.kernel?.destroy();} catch (e) {console.error(e);}