You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the pusher singleton is reset or re-initialised with an onConnectionStateChange() listener, these listeners are not being removed.
Pusher::init() calls removeAllListeners() prior to adding the new options being passed in, but this doesn't include a call to remove the PusherEventName.ON_CONNECTION_STATE_CHANGE
Hi,
When the pusher singleton is reset or re-initialised with an onConnectionStateChange() listener, these listeners are not being removed.
Pusher::init() calls removeAllListeners() prior to adding the new options being passed in, but this doesn't include a call to remove the PusherEventName.ON_CONNECTION_STATE_CHANGE
This results in multiple OnConnectionStateChange handlers being triggered after the re-init...
Resulting in the following output after a number of resets...
The text was updated successfully, but these errors were encountered: