-
Notifications
You must be signed in to change notification settings - Fork 273
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
Cannot send data unless an event is currently active #170
Comments
I have found a temporary workaround, if i Thread.sleep an event and then try sending from another thread, it works, because umm, code? Although this also blocks the entire websocket |
If there is no event running at the same time ws.Send is called, ws.Send hangs forever |
@NateKomodo did you find any relyable workaround? |
@bPoller2810 I switched library |
@NateKomodo sorry if i have to bother you again. i may have a few questions what environment you used. i am facing the same problem right now. |
I was using a .NET framework app I was running through mono, never worked before. I imagine the cause is a race condition, scoping issue, or poor design/bug that has resulted in data being unable to be sent while an event instance is not invoking. |
When trying to call websocket.Send() from anywhere else other than a subscribed event (When it is called) the data is not sent. The data is sent fine if i am calling the method from inside the DataRecievedEvent, but not anywhere other than a method.
The text was updated successfully, but these errors were encountered: