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

allow socket dispose from the async thread to not block shutdown #8

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

PiMaker
Copy link

@PiMaker PiMaker commented Oct 24, 2024

No description provided.

Copy link
Collaborator

@momo-the-monster momo-the-monster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioned a few small things, but nothing blocking a merge if this fixes a shutdown issue we're having in the Client.

One larger question would be why we're using socket.BeginReceive here rather than awaiting a call to Socket.ReceiveAsync and using a CancellationToken to shut it down.

@PiMaker PiMaker merged commit a4df296 into main Oct 25, 2024
@PiMaker PiMaker deleted the pi-close-socket-immediately branch October 25, 2024 17:35
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