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

ConnectClientAsync - Fix "Cannot access a disposed object." #32

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

JulanDeAlb
Copy link
Contributor

Move "Always create new client when opening new connection" into the while loop to really make sure it always is a new Client when opening a new connection.

Roughly tested to be working with both TcpClient and WebSocketClient.

Fixes issue #30

@Hampo Hampo mentioned this pull request Dec 12, 2023
@Syzuna Syzuna merged commit 3ea0720 into TwitchLib:dev Jan 3, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants