Closed stairs closed 6 years ago
Good catch! I don't know how I haven't experienced this myself. Anyway, we can work together on a PR if you want, or I can work on that.
If you want to do it, you don't need any special permissions; you can open a PR even if you're not a repository contributor.
Problem solved. I'll keep my eye on this issue and re-open if it crops up again. Thanks for the help @stairs !!
It appears that we just don't unsubscribe from
messages()
ondisconnect()
. Therefore each newconnect()
will result incallSubscribers()
executed as many times asconnect()
was called.