Skip to content

Commit 3527824

Browse files
authored
1 parent 0445715 commit 3527824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/platform/userDataSync/common/userDataSyncService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ export class UserDataSyncService extends Disposable implements IUserDataSyncServ
420420
return isUndefined(result) ? null : result;
421421
}
422422

423-
if (this.environmentService.isBuilt && !this.productService.enableSyncingProfiles) {
423+
if (this.environmentService.isBuilt && (!this.productService.enableSyncingProfiles || isEqual(this.userDataSyncStoreManagementService.userDataSyncStore?.url, this.userDataSyncStoreManagementService.userDataSyncStore?.stableUrl))) {
424424
return null;
425425
}
426426

@@ -592,7 +592,7 @@ class ProfileSynchronizer extends Disposable {
592592
if (!this._profile.isDefault) {
593593
return;
594594
}
595-
if (this.environmentService.isBuilt && !this.productService.enableSyncingProfiles) {
595+
if (this.environmentService.isBuilt && (!this.productService.enableSyncingProfiles || isEqual(this.userDataSyncStoreManagementService.userDataSyncStore?.url, this.userDataSyncStoreManagementService.userDataSyncStore?.stableUrl))) {
596596
this.logService.debug('Skipping profiles sync');
597597
return;
598598
}

0 commit comments

Comments
 (0)