Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(redux) throw exception in case invalid listeners are registered
Saúl Ibarra Corretgé8127ea247925
diff --git a/react/features/base/redux/StateListenerRegistry.ts b/react/features/base/redux/StateListenerRegistry.tsindex 6478dfe3a0..3dc0907320 100644--- a/react/features/base/redux/StateListenerRegistry.ts+++ b/react/features/base/redux/StateListenerRegistry.ts@@ -136,6 +136,10 @@ class StateListenerRegistry {* @returns {void}*/register(selector: Selector, listener: Listener, options?: RegistrationOptions) {+ if (typeof selector !== 'function' || typeof listener !== 'function') {+ throw new Error('Invalid selector or listener!');+ }+this._selectorListeners.add({listener,selector,