diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-08-07 15:25:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-07 15:25:00 -0400 |
commit | 2d5e6f839412985ae790da34b3f75476bcf8028c (patch) | |
tree | 1dbe04b1510bf951178959ce90881669b1cb71fa /ext/js/language/dictionary-database.js | |
parent | e704ae99a2719b75d5e51f812d6176ea2d34773c (diff) |
Fix data not being persisted after terminating Worker thread (#1877)
Diffstat (limited to 'ext/js/language/dictionary-database.js')
-rw-r--r-- | ext/js/language/dictionary-database.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/language/dictionary-database.js b/ext/js/language/dictionary-database.js index 6b235fb6..62300676 100644 --- a/ext/js/language/dictionary-database.js +++ b/ext/js/language/dictionary-database.js @@ -317,6 +317,10 @@ class DictionaryDatabase { return this._db.bulkAdd(objectStoreName, items, start, count); } + persistData(objectStoreName) { + return this._db.persistData(objectStoreName); + } + // Private _findMultiBulk(objectStoreName, indexNames, items, createQuery, predicate, createResult) { |