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

TwitchConnection.WriteThread check connection #18

Open
lexonegit opened this issue Apr 1, 2023 · 1 comment
Open

TwitchConnection.WriteThread check connection #18

lexonegit opened this issue Apr 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@lexonegit
Copy link
Owner

TwitchConnection.WriteThread.cs at line 19:
var stream = tcpClient.GetStream();

can sometimes give this error:
InvalidOperationException: The operation is not allowed on non-connected sockets.

Very random, impossible to reproduce. But maybe add something to verify that TCPClient is actually connected before doing anything.

(issue probably exists in TwitchConnection.ReadThread.cs too)

@lexonegit lexonegit added the bug Something isn't working label Apr 1, 2023
@lexonegit
Copy link
Owner Author

Update: this is an issue mainly if your internet connection is not stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant