mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
fix(desktop-app-component) [PM-27467]: Remove early call of updateAppMenu on logout; await broadcastService handling of loggedOut to update app menu to prevent evaluation of activeUserState. (#17219)
(cherry picked from commit e6c2786dcc)
This commit is contained in:
@@ -736,8 +736,6 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
await this.updateAppMenu();
|
|
||||||
|
|
||||||
// This must come last otherwise the logout will prematurely trigger
|
// This must come last otherwise the logout will prematurely trigger
|
||||||
// a process reload before all the state service user data can be cleaned up
|
// a process reload before all the state service user data can be cleaned up
|
||||||
this.authService.logOut(async () => {}, userBeingLoggedOut);
|
this.authService.logOut(async () => {}, userBeingLoggedOut);
|
||||||
|
|||||||
Reference in New Issue
Block a user