Skip to content

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

:art: Improve kernel stability https://github.com/siyuan-note/siyuan/issues/9912

Daniel5bc3152635b9
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index 93cc157fb3..5cced0a87b 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -1694,6 +1694,8 @@ func replaceAttributeViewBlock(operation *Operation, tx *Transaction) (err error
return
}
+ WaitForWritingFiles()
+
var node *ast.Node
if !operation.IsDetached {
node, _, _ = getNodeByBlockID(tx, operation.NextID)