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 e6c35ff3f0
commit da35c6685c

View File

@ -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);
}