Browse Source

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

Daniel 1 năm trước cách đây
mục cha
commit
5bc3152635
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      kernel/model/attribute_view.go

+ 2 - 0
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)