🐛 Opening notebook repeatedly causes reference count to increase https://github.com/siyuan-note/siyuan/issues/11378

This commit is contained in:
Daniel 2024-05-13 21:30:48 +08:00
parent c50b3de4ce
commit fc1e9154b3
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 14 additions and 30 deletions

View file

@ -280,7 +280,7 @@ func IndexRefs() {
}
util.IncBootProgress(bootProgressPart, "Indexing ref "+defTree.ID)
sql.InsertRefsTreeQueue(defTree)
sql.UpdateRefsTreeQueue(defTree)
if 1 < i && 0 == i%64 {
util.PushStatusBar(fmt.Sprintf(Conf.Language(55), i))
}