Bug 1174683 - [Secure Element] Fix TypeError in UiccConnector.unregisterListener. r=allstars.chh

This commit is contained in:
Krzysztof Mioduszewski 2015-06-15 03:58:00 -04:00
parent 1533a2377c
commit 2596843993

View File

@ -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);
} }
}, },