Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2023-02-02 23:17:00 +08:00
commit 4fd89b759f

View file

@ -500,7 +500,7 @@ func FullReindex() {
}
func fullReindex() {
util.PushMsg(Conf.Language(35), 7*1000)
msgId := util.PushMsg(Conf.Language(35), 7*1000)
WaitForWritingFiles()
if err := sql.InitDatabase(true); nil != err {
@ -520,6 +520,7 @@ func fullReindex() {
runtime.GC()
go func() {
time.Sleep(3 * time.Second)
util.PushClearMsg(msgId)
util.PushStatusBar(Conf.Language(108))
}()
}