We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b03caaf commit bc15076Copy full SHA for bc15076
src/vs/workbench/services/userDataSync/browser/userDataSyncWorkbenchService.ts
@@ -186,13 +186,13 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
186
}
187
188
189
- await this.update();
190
-
+ const initPromise = this.update('initialize');
191
this._register(this.authenticationService.onDidChangeDeclaredProviders(() => {
192
if (this.updateAuthenticationProviders()) {
193
- this.update('declared authentication providers changed');
+ initPromise.finally(() => this.update('declared authentication providers changed'));
194
195
}));
+ await initPromise;
196
197
this._register(Event.filter(
198
Event.any(
0 commit comments