Skip to content

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

:art: Clean code

Daniel4abcb0d81147
diff --git a/kernel/model/conf.go b/kernel/model/conf.go
index 16e015fa33..c82de59a6f 100644
--- a/kernel/model/conf.go
+++ b/kernel/model/conf.go
@@ -807,7 +807,9 @@ func Close(force, setCurrentWorkspace bool, execInstallPkg int) (exitCode int) {
time.Sleep(30 * time.Second)
}
}
+
closeSyncWebSocket()
+
go func() {
time.Sleep(500 * time.Millisecond)
logging.LogInfof("exited kernel")