mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Bug 743635 - B2G SMS database initialization freezes I/O thread. r=mwu
This commit is contained in:
parent
22c4c68ac2
commit
437054ec59
@ -46,6 +46,10 @@ const GLOBAL_SCOPE = this;
|
||||
* SmsDatabaseService
|
||||
*/
|
||||
function SmsDatabaseService() {
|
||||
// Prime the directory service's cache to ensure that the ProfD entry exists
|
||||
// by the time IndexedDB queries for it off the main thread. (See bug 743635.)
|
||||
Services.dirsvc.get("ProfD", Ci.nsIFile);
|
||||
|
||||
gIDBManager.initWindowless(GLOBAL_SCOPE);
|
||||
|
||||
let that = this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user