Преглед на файлове

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

Daniel преди 1 година
родител
ревизия
5bc3152635
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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)