diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-08-13 18:35:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-13 18:35:31 -0400 |
commit | cd78d56feedef1475ce8ddb98e208c7a004819df (patch) | |
tree | 0584c50b423fb366074bc53919da8f96258066f6 /ext/js/language/dictionary-importer.js | |
parent | 9facacfb23a03c63da4c1cd8c7514b5fd3d3b0f9 (diff) |
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
Diffstat (limited to 'ext/js/language/dictionary-importer.js')
-rw-r--r-- | ext/js/language/dictionary-importer.js | 4 |
1 files changed, 0 insertions, 4 deletions
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); |