🎨 细化云端同步锁提升稳定性 Fix https://github.com/siyuan-note/siyuan/issues/5887
This commit is contained in:
parent
9d9f222f76
commit
cd1e638cca
1 changed files with 1 additions and 1 deletions
|
@ -934,7 +934,7 @@ func indexWriteJSONQueue(tree *parse.Tree) (err error) {
|
|||
}
|
||||
|
||||
func renameWriteJSONQueue(tree *parse.Tree, oldHPath string) (err error) {
|
||||
writingDataLock.Unlock()
|
||||
writingDataLock.Lock()
|
||||
if err = filesys.WriteTree(tree); nil != err {
|
||||
writingDataLock.Unlock()
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue