Przeglądaj źródła

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

Daniel 1 rok temu
rodzic
commit
5bc3152635
1 zmienionych plików z 2 dodań i 0 usunięć
  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
 		return
 	}
 	}
 
 
+	WaitForWritingFiles()
+
 	var node *ast.Node
 	var node *ast.Node
 	if !operation.IsDetached {
 	if !operation.IsDetached {
 		node, _, _ = getNodeByBlockID(tx, operation.NextID)
 		node, _, _ = getNodeByBlockID(tx, operation.NextID)