🎨 Improve processing when a database-bound block changes its type https://github.com/siyuan-note/siyuan/issues/12152

This commit is contained in:
Daniel 2024-08-03 22:19:00 +08:00
parent 7c497108af
commit efb3c5dd36
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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
}