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

StopCh can not be used to stop the websocket #18

Closed
SniperUsopp opened this issue Nov 28, 2023 · 2 comments
Closed

StopCh can not be used to stop the websocket #18

SniperUsopp opened this issue Nov 28, 2023 · 2 comments

Comments

@SniperUsopp
Copy link

Seems StopCh can not be used to stop the read message, it can only silent the error handler. The function of this channel is not match its name.
image

@IagoQ
Copy link

IagoQ commented Apr 26, 2024

Same problem here, it seems there is no way to kill the connection on demand, you can only wait for binance to kill the connection after some time

@alplabin
Copy link
Contributor

This has been fixed in the last release: https://github.com/binance/binance-connector-go/releases/tag/v0.7.0

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

3 participants