mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-23 13:04:28 +00:00
Bug 1068962 - Fix settings lock ownership array splice; r=bent
--HG-- extra : rebase_source : 0374ddeaffe0936ac7bb78aff0fc5b3a467c3bd1
This commit is contained in:
parent
887c610a4a
commit
f52164c1b5
@ -264,7 +264,7 @@ SettingsManager.prototype = {
|
||||
let lock_index = this._locks.indexOf(aLockID);
|
||||
if (lock_index != -1) {
|
||||
if (DEBUG) debug("Unregistering lock " + aLockID);
|
||||
this._locks.splice(lock_index, -1);
|
||||
this._locks.splice(lock_index, 1);
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user