Procházet zdrojové kódy

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

Daniel před 1 rokem
rodič
revize
5bc3152635
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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)