From da35c6685c2f154ee341e780fdf91b4585d3615d Mon Sep 17 00:00:00 2001 From: Shawn Wilsher Date: Mon, 9 Nov 2009 09:59:40 -0800 Subject: [PATCH] Bug 526601 - Places needs to use asyncClose instead of close on the database connection Storage API changed, and we need to update. r=mak --- toolkit/components/places/src/nsPlacesDBFlush.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/places/src/nsPlacesDBFlush.js b/toolkit/components/places/src/nsPlacesDBFlush.js index 904ba4ebc28..b15a02a3778 100644 --- a/toolkit/components/places/src/nsPlacesDBFlush.js +++ b/toolkit/components/places/src/nsPlacesDBFlush.js @@ -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); }