mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-10 22:23:28 +08:00
🐛 重建索引可能会导致内核崩溃 https://github.com/siyuan-note/siyuan/issues/7238
This commit is contained in:
parent
91da0fe71d
commit
ea95093bab
@ -518,7 +518,10 @@ func fullReindex() {
|
|||||||
treenode.SaveBlockTree(true)
|
treenode.SaveBlockTree(true)
|
||||||
LoadFlashcards()
|
LoadFlashcards()
|
||||||
runtime.GC()
|
runtime.GC()
|
||||||
|
go func() {
|
||||||
|
time.Sleep(3 * time.Second)
|
||||||
util.PushStatusBar(Conf.Language(108))
|
util.PushStatusBar(Conf.Language(108))
|
||||||
|
}()
|
||||||
}
|
}
|
||||||
|
|
||||||
func ChangeBoxSort(boxIDs []string) {
|
func ChangeBoxSort(boxIDs []string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user