mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
parent
eb99a782ff
commit
c532da7b3d
|
@ -354,7 +354,12 @@ export class UserDataProfilesService extends Disposable implements IUserDataProf
|
|||
joiners.push(promise);
|
||||
}
|
||||
});
|
||||
await Promises.settled(joiners);
|
||||
|
||||
try {
|
||||
await Promise.allSettled(joiners);
|
||||
} catch (error) {
|
||||
this.logService.error(error);
|
||||
}
|
||||
|
||||
if (profile.id === this.profilesObject.emptyWindow?.id) {
|
||||
this.profilesObject.emptyWindow = undefined;
|
||||
|
|
Loading…
Reference in a new issue