mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-08 03:41:49 +08:00
🐛 云端同步在系统休眠后唤醒会重复执行 Fix https://github.com/siyuan-note/siyuan/issues/5784
This commit is contained in:
parent
0d71a61ddb
commit
3ad5bb7607
@ -69,6 +69,9 @@ func SyncData(boot, exit, byHand bool) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
syncLock.Lock()
|
||||||
|
defer syncLock.Unlock()
|
||||||
|
|
||||||
if boot {
|
if boot {
|
||||||
util.IncBootProgress(3, "Syncing data from the cloud...")
|
util.IncBootProgress(3, "Syncing data from the cloud...")
|
||||||
BootSyncSucc = 0
|
BootSyncSucc = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user