1
0
mirror of https://github.com/bitwarden/desktop synced 2026-02-21 11:53:25 +00:00

[bug] Don't clean up state until everything else is done on logout

This commit is contained in:
addison
2021-11-16 10:13:24 -05:00
parent 61e543adc9
commit c4e0fc6672

View File

@@ -388,7 +388,6 @@ export class AppComponent implements OnInit {
this.passwordGenerationService.clear(userId),
this.vaultTimeoutService.clear(userId),
this.policyService.clear(userId),
this.stateService.purge({ userId: userId }),
this.keyConnectorService.clear(),
]);
@@ -404,6 +403,8 @@ export class AppComponent implements OnInit {
this.router.navigate(['login']);
});
}
await this.stateService.clean({ userId: userId });
}
private async recordActivity() {