🎨 Improve processing when a database-bound block changes its type https://github.com/siyuan-note/siyuan/issues/12152
This commit is contained in:
parent
7c497108af
commit
efb3c5dd36
1 changed files with 2 additions and 6 deletions
|
@ -772,12 +772,8 @@ func (tx *Transaction) doDelete(operation *Operation) (ret *TxErr) {
|
|||
return
|
||||
}
|
||||
|
||||
go func() {
|
||||
time.Sleep(50 * time.Millisecond)
|
||||
WaitForWritingFiles()
|
||||
syncDelete2AttributeView(node)
|
||||
syncDelete2Block(node)
|
||||
}()
|
||||
syncDelete2AttributeView(node)
|
||||
syncDelete2Block(node)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue