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 f435a39e37
commit 8cd7bf322d

View File

@ -328,7 +328,7 @@ UiccConnector.prototype = {
unregisterListener: function(listener) {
let idx = this._SEListeners.indexOf(listener);
if (idx !== -1) {
this._listeners.splice(idx, 1);
this._SEListeners.splice(idx, 1);
}
},