mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🐛 重建索引可能会导致内核崩溃 https://github.com/siyuan-note/siyuan/issues/7238
This commit is contained in:
parent
91da0fe71d
commit
ea95093bab
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue