Merge for back out of changeset e9f64cd044f3 (bug 526601)

This commit is contained in:
Shawn Wilsher 2009-12-01 15:04:46 -08:00
commit a271c39440
2 changed files with 4 additions and 5 deletions

View File

@ -179,7 +179,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.asyncClose();
this._self._db.close();
}
}, Ci.nsIThread.DISPATCH_NORMAL);
}

View File

@ -139,11 +139,10 @@ function check_results() {
do_check_false(stmt.executeStep());
stmt.finalize();
dbConn.asyncClose(function() {
do_check_false(dbConn.connectionReady);
dbConn.close();
do_check_false(dbConn.connectionReady);
do_test_finished();
});
do_test_finished();
}
function run_test()