Trivial test program hangs
Before submitting a new issue, please check if a similar issue has already been filed.
Trivial websocket program hangs
If only a websocket instance is created and start()ed, it will hang if stop() is called without executing a subscription (for instance).
Expected behaviour
A websocket program should terminate gracefully and immediately after calling stop()
Actual behaviour
Program does not terminate.
Steps to reproduce
from binance.websocket.spot.websocket_client import SpotWebsocketClient as WebsocketClient
ws_client = WebsocketClient() ws_client.start() ws_client.stop()
Environment
Default system and setup
Please have a try on the latest v3.
I'm closing this issue as we published a brand new modularised version of the Python connector. Feel free to start using it and open a new issue if you encounter any problems.