You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-12 22:57:38 +02:00
Desktop: Fixed clock sync logic when creating new sync target
This commit is contained in:
@ -305,6 +305,8 @@ class Synchronizer {
|
||||
let syncLock = null;
|
||||
|
||||
try {
|
||||
this.api().setTempDirName(Dirnames.Temp);
|
||||
|
||||
try {
|
||||
const syncTargetInfo = await this.migrationHandler().checkCanSync();
|
||||
|
||||
@ -321,8 +323,6 @@ class Synchronizer {
|
||||
throw error;
|
||||
}
|
||||
|
||||
this.api().setTempDirName(Dirnames.Temp);
|
||||
|
||||
syncLock = await this.lockHandler().acquireLock('sync', this.appType_, this.clientId_);
|
||||
|
||||
this.lockHandler().startAutoLockRefresh(syncLock, (error) => {
|
||||
|
Reference in New Issue
Block a user