mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Close the user guide when exiting Fix https://github.com/siyuan-note/siyuan/issues/10322
This commit is contained in:
parent
7269b646e7
commit
248bf80415
8 changed files with 35 additions and 27 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue