This commit is contained in:
Daniel 2024-10-14 20:39:16 +08:00
parent 2da4a885ef
commit 475155b7df
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
14 changed files with 17 additions and 62 deletions

View file

@ -140,7 +140,7 @@ func refreshProtyle(rootID string) {
// refreshRefCount 用于刷新定义块处的引用计数。
func refreshRefCount(rootID, blockID string) {
sql.WaitForWritingDatabase()
sql.FlushQueue()
bt := treenode.GetBlockTree(blockID)
if nil == bt {