mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-27 04:03:00 +02:00
[bug] Clean state service on logout
This commit is contained in:
parent
f9851285d5
commit
9cea47aaf1
@ -571,6 +571,8 @@ export default class MainBackground {
|
||||
this.keyConnectorService.clear(),
|
||||
]);
|
||||
|
||||
await this.stateService.clean();
|
||||
|
||||
if (userId == null || userId === (await this.stateService.getUserId())) {
|
||||
this.searchService.clearIndex();
|
||||
this.messagingService.send("doneLoggingOut", { expired: expired, userId: userId });
|
||||
|
Loading…
Reference in New Issue
Block a user