From c0170563f23a5fa9fc3c33c41f0725ebd03c46ff Mon Sep 17 00:00:00 2001 From: Thomas Rittson <31796059+eliykat@users.noreply.github.com> Date: Tue, 15 Mar 2022 23:25:43 +1000 Subject: [PATCH] Disable disk caching in stateService (#1406) * Disable disk caching in stateService * Turn back on caching for the renderer Co-authored-by: addison --- src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 0150f72e..0aecf0be 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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(