mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 501798 - Not actually finalizing statements in _dbCleanup
This commit is contained in:
parent
d01df6a686
commit
1ebc0fdd83
@ -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