From dec734346baf63b20379991c8860c1b85f00e128 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 24 Mar 2017 14:15:35 +0000 Subject: [PATCH] Don't log the entire /sync response The console will maintain a strong ref to this object, which may exacerbate memory leaks. --- src/store/indexeddb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/indexeddb.js b/src/store/indexeddb.js index 12b18f33e..4ac91e9fd 100644 --- a/src/store/indexeddb.js +++ b/src/store/indexeddb.js @@ -276,7 +276,7 @@ IndexedDBStore.prototype.startup = function() { }).then((values) => { const [users, accountData, syncData] = values; console.log( - "Loaded data from database: sync from ", syncData, + "Loaded data from database: sync from ", syncData.nextBatch, " -- Reticulating splines...", ); users.forEach((u) => {