1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-30 12:54:31 +01:00

Disable disk caching in stateService (#1406)

* Disable disk caching in stateService

* Turn back on caching for the renderer

Co-authored-by: addison <addisonbeck1@gmail.com>
This commit is contained in:
Thomas Rittson 2022-03-15 23:25:43 +10:00 committed by GitHub
parent f46405a508
commit c0170563f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,8 @@ export class Main {
null, null,
this.logService, this.logService,
null, null,
new StateFactory(GlobalState, Account) new StateFactory(GlobalState, Account),
false // Do not use disk caching because this will get out of sync with the renderer service
); );
this.windowMain = new WindowMain( this.windowMain = new WindowMain(