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
I was looking at the removeSubscriber method of the Channel object and I noticed something that I can't explain.
When removing a specific subscriber you set the channel property of the subscriber to null before removing it from the array of subscribers. When all the subscribers get cleared due to the id param being null the array is simply cleared and the channel property on all the subscribers don't get reset to null.
Is there a specific reason for this or is it an oversight?
The text was updated successfully, but these errors were encountered:
I was looking at the
removeSubscriber
method of theChannel
object and I noticed something that I can't explain.When removing a specific subscriber you set the
channel
property of the subscriber tonull
before removing it from the array of subscribers. When all the subscribers get cleared due to theid
param beingnull
the array is simply cleared and thechannel
property on all the subscribers don't get reset tonull
.Is there a specific reason for this or is it an oversight?
The text was updated successfully, but these errors were encountered: