RSSDP icon indicating copy to clipboard operation
RSSDP copied to clipboard

FIX random crash: Catch ObjectDispose exceptions on EndReceiveFrom

Open gelexgaray opened this issue 4 years ago • 1 comments

I've fixed a random crash on UDPSocket when running on dot net core. It would be great if you could integrate it

gelexgaray avatar Feb 10 '21 13:02 gelexgaray

@gelexgaray

I found more issues with this on macos - im getting random shutdown crashes in my app and ive pin-pointed it to hanging timers. The server task.delays without cancellation so there are various race condition that can happen to your app at scale.

Ive added cancellation and updated the project to netstandard also... https://www.nuget.org/packages/Rssdp.NetStd/4.0.3

captainjono avatar Feb 12 '21 01:02 captainjono