mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1174683 - [Secure Element] Fix TypeError in UiccConnector.unregisterListener. r=allstars.chh
This commit is contained in:
parent
1533a2377c
commit
2596843993
@ -328,7 +328,7 @@ UiccConnector.prototype = {
|
|||||||
unregisterListener: function(listener) {
|
unregisterListener: function(listener) {
|
||||||
let idx = this._SEListeners.indexOf(listener);
|
let idx = this._SEListeners.indexOf(listener);
|
||||||
if (idx !== -1) {
|
if (idx !== -1) {
|
||||||
this._listeners.splice(idx, 1);
|
this._SEListeners.splice(idx, 1);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user