Backed out changeset e9f64cd044f3 (bug 526601)

This commit is contained in:
Shawn Wilsher 2009-12-01 15:04:24 -08:00
parent 36fcc4e93c
commit 8298fc4936
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 // 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.asyncClose(); this._self._db.close();
} }
}, Ci.nsIThread.DISPATCH_NORMAL); }, Ci.nsIThread.DISPATCH_NORMAL);
} }

View File

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