mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 385839. Password manager leaks on shutdown. Fix sloppy variable declaration.
This commit is contained in:
parent
920d401ea7
commit
3b82cc8fa8
@ -263,7 +263,7 @@ LoginManager.prototype = {
|
||||
this._pwmgr.log("Oops! Pref not handled, change ignored.");
|
||||
}
|
||||
} else if (topic == "xpcom-shutdown") {
|
||||
for (i in this._pwmgr) {
|
||||
for (let i in this._pwmgr) {
|
||||
try {
|
||||
this._pwmgr[i] = null;
|
||||
} catch(ex) {}
|
||||
|
Loading…
Reference in New Issue
Block a user