🐛 重建索引可能会导致内核崩溃 https://github.com/siyuan-note/siyuan/issues/7238

This commit is contained in:
Liang Ding 2023-02-02 18:21:37 +08:00
parent 91da0fe71d
commit ea95093bab
No known key found for this signature in database
GPG Key ID: 136F30F901A2231D

View File

@ -518,7 +518,10 @@ func fullReindex() {
treenode.SaveBlockTree(true)
LoadFlashcards()
runtime.GC()
util.PushStatusBar(Conf.Language(108))
go func() {
time.Sleep(3 * time.Second)
util.PushStatusBar(Conf.Language(108))
}()
}
func ChangeBoxSort(boxIDs []string) {