Explorar o código

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

Vanessa %!s(int64=2) %!d(string=hai) anos
pai
achega
4fd89b759f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      kernel/model/box.go

+ 2 - 1
kernel/model/box.go

@@ -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))
 	}()
 }