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
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@ export class Main {
null,
this.logService,
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(