diff --git a/Libraries/vendor/emitter/EventEmitter.js b/Libraries/vendor/emitter/EventEmitter.js index eae9ba7fe..28cf41afc 100644 --- a/Libraries/vendor/emitter/EventEmitter.js +++ b/Libraries/vendor/emitter/EventEmitter.js @@ -176,7 +176,7 @@ class EventEmitter { const subscription = subscriptions[i]; // The subscription may have been removed during this event loop. - if (subscription) { + if (subscription && subscription.listener) { this._currentSubscription = subscription; subscription.listener.apply( subscription.context,