Skip to content

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

:bug: 插入/更新资源文件导致内核崩溃 https://github.com/siyuan-note/siyuan/issues/5574

Liang Ding0ecac469085a
diff --git a/kernel/model/assets_watcher.go b/kernel/model/assets_watcher.go
index ef2ebad035..b12e08da86 100644
--- a/kernel/model/assets_watcher.go
+++ b/kernel/model/assets_watcher.go
@@ -53,7 +53,7 @@ func watchAssets() {
}
go func() {
- logging.Recover()
+ defer logging.Recover()
var (
timer *time.Timer