From cd78d56feedef1475ce8ddb98e208c7a004819df Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 13 Aug 2021 18:35:31 -0400 Subject: Database improvements to data persistency (#1893) * Fix function check * Rename arguments of getAll, getAllKeys, and their private functions * Simplify bulkAdd * Simplify delete * Simplify bulkDelete * Remove persistData --- ext/js/language/dictionary-importer.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ext/js/language/dictionary-importer.js') diff --git a/ext/js/language/dictionary-importer.js b/ext/js/language/dictionary-importer.js index 8d6dcb33..89417ca6 100644 --- a/ext/js/language/dictionary-importer.js +++ b/ext/js/language/dictionary-importer.js @@ -149,10 +149,6 @@ class DictionaryImporter { this._progressData.index += count; this._progress(); } - - // This function is required in order to make the added data persist after the worker is terminated. - // https://bugs.chromium.org/p/chromium/issues/detail?id=1237686 - await dictionaryDatabase.persistData(objectStoreName); }; await bulkAdd('terms', termList); -- cgit v1.2.3