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

Unhandled exception when UdpSocket is disposed but inner disposed socket receives an input #104

Open
gelexgaray opened this issue Nov 25, 2020 · 0 comments

Comments

@gelexgaray
Copy link

on public System.Threading.Tasks.Task ReceiveAsync()

When the UdpSocket is disposed and the inner socket is also disposed, ReceiveAsync raises a DisposedException on network input. It shouldn't raise any exception in this case.

This is managed in the NETSTANDARD1.3 code, but not in the rest of the variants of the code

I will send you a pull request with a fix proposal

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

No branches or pull requests

1 participant