hopeful workaround to firefox crash

This commit is contained in:
Alex Yatskov 2017-09-12 14:12:40 -07:00
parent af93d446de
commit 28364b97b0

View File

@ -171,7 +171,7 @@ class Database {
});
}
await this.db.terms.bulkAdd(rows);
await this.db.terms.bulkAdd(utilIsolate(rows));
};
const kanjiDataLoaded = async (title, entries, total, current) => {
@ -191,7 +191,7 @@ class Database {
});
}
await this.db.kanji.bulkAdd(rows);
await this.db.kanji.bulkAdd(utilIsolate(rows));
};
const tagDataLoaded = async (title, entries, total, current) => {
@ -212,7 +212,7 @@ class Database {
rows.push(row);
}
await this.db.tagMeta.bulkAdd(rows);
await this.db.tagMeta.bulkAdd(utilIsolate(rows));
};
return await Database.importDictionaryZip(