mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 501798 - Not actually finalizing statements in _dbCleanup
This commit is contained in:
parent
d9997307e2
commit
b396105289
@ -1567,8 +1567,8 @@ LoginManagerStorage_mozStorage.prototype = {
|
||||
}
|
||||
|
||||
// Finalize all statements to free memory, avoid errors later
|
||||
for (let i = 0; i < this._dbStmts.length; i++)
|
||||
this._dbStmts[i].finalize();
|
||||
for each (let stmt in this._dbStmts)
|
||||
stmt.finalize();
|
||||
this._dbStmts = [];
|
||||
|
||||
// Close the connection, ignore 'already closed' error
|
||||
|
Loading…
Reference in New Issue
Block a user