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:
Shawn Wilsher 2009-11-09 09:59:40 -08:00
parent 020bb307a8
commit fefc527b0e

View File

@ -193,7 +193,7 @@ nsPlacesDBFlush.prototype = {
// Close the database connection, this was the last sync and we can't // Close the database connection, this was the last sync and we can't
// ensure database coherence from now on. // ensure database coherence from now on.
this._self._finalizeInternalStatements(); this._self._finalizeInternalStatements();
this._self._db.close(); this._self._db.asyncClose();
} }
}, Ci.nsIThread.DISPATCH_NORMAL); }, Ci.nsIThread.DISPATCH_NORMAL);
} }