mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Merge for back out of changeset e9f64cd044f3 (bug 526601)
This commit is contained in:
commit
a271c39440
@ -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);
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user