Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client.Unsubscribe doesn't seem to do anything #89

Open
jollyra opened this issue Apr 23, 2021 · 1 comment
Open

client.Unsubscribe doesn't seem to do anything #89

jollyra opened this issue Apr 23, 2021 · 1 comment

Comments

@jollyra
Copy link

jollyra commented Apr 23, 2021

If I call SubscribeChan, then immediately call Unsubscribe on my events channel I can still receive events as normal. I discovered this while implementing reconnection logic if a stream goes silent by calling Unsubscribe then SubscribeChan. After doing this I will receive duplicate events on my channel. If I repeat the process 10 more times, I will receive 10 duplicate events on the channel for each event that the server sends.

@abdulrabbani00
Copy link

Hello, I would like to bring this to your attention. When I call the Unsubscribe function, the thread is brought to a halt and never ends. Can we get some assistance, it's critical to be able to unsubscribe to a stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants