Bug 714377 - Close connection in storage/test/unit/test_storage_connection.js. r=mak.

This commit is contained in:
Rafael Ávila de Espíndola 2012-01-03 14:59:32 -05:00
parent f16f02377c
commit fc42dc3a1f

View File

@ -573,7 +573,11 @@ function test_getInterface()
// the correct value.
do_check_true(target != null);
run_next_test();
db.asyncClose(function() {
// Reset gDBConn so that later tests will get a new connection object.
gDBConn = null;
run_next_test();
});
}
////////////////////////////////////////////////////////////////////////////////