🎨 Close the user guide when exiting Fix https://github.com/siyuan-note/siyuan/issues/10322

This commit is contained in:
Daniel 2024-02-06 21:30:36 +08:00
parent 7269b646e7
commit 248bf80415
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
8 changed files with 35 additions and 27 deletions

View file

@ -190,7 +190,10 @@ func syncData(exit, byHand bool) {
if exit {
ExitSyncSucc = 0
logging.LogInfof("sync before exit")
util.PushMsg(Conf.Language(81), 1000*60*15)
msgId := util.PushMsg(Conf.Language(81), 1000*60*15)
defer func() {
util.PushClearMsg(msgId)
}()
}
now := util.CurrentTimeMillis()