diff options
Fix bug where full localStorage would crash on start
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 8bd7766ad..7bbaa89d6 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -84,7 +84,6 @@ async function loadStateFromPersistence () { // write to disk if (localStore.isSupported) localStore.set(versionedData) - diskStore.putState(versionedData) // return just the data return versionedData.data @@ -121,7 +120,6 @@ function setupController (initState) { debounce(1000), storeTransform(versionifyData), storeTransform(syncDataWithExtension), - asStream(diskStore), (error) => { log.error('pump hit error', error) } |