mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 04:35:33 +00:00
Bug 526601 - Places needs to use asyncClose instead of close on the database connection
Storage API changed, and we need to update. r=mak
This commit is contained in:
parent
020bb307a8
commit
fefc527b0e
@ -193,7 +193,7 @@ nsPlacesDBFlush.prototype = {
|
||||
// Close the database connection, this was the last sync and we can't
|
||||
// ensure database coherence from now on.
|
||||
this._self._finalizeInternalStatements();
|
||||
this._self._db.close();
|
||||
this._self._db.asyncClose();
|
||||
}
|
||||
}, Ci.nsIThread.DISPATCH_NORMAL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user