Skip to content

Commit 96de015

Browse files
author
Andrea Barbasso
committed
[DSC-2955] fix race condition in browser initialization
(cherry picked from commit ead5091f654a4d1c2f1ca8e60f367c8b54f63b0c)
1 parent 063def1 commit 96de015

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/modules/app/browser-init.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ export class BrowserInitService extends InitService {
136136

137137
this.initKlaro();
138138

139-
this.authorizationService.initStateForSite(this.appConfig.siteAuthorizationFeaturesConfig);
140-
141139
await lastValueFrom(this.authenticationReady$());
142140

141+
this.authorizationService.initStateForSite(this.appConfig.siteAuthorizationFeaturesConfig);
142+
143143
return true;
144144
};
145145
}

0 commit comments

Comments
 (0)