Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Push exit event

Daniel8b2151f7d065
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index fc34163638..0b8747354b 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -790,6 +790,7 @@ func Close(force, setCurrentWorkspace bool, execInstallPkg int) (exitCode int) {
}
}
+ util.BroadcastByType("main", "exit", 0, "", nil)
util.UnlockWorkspace()
time.Sleep(500 * time.Millisecond)