Skip to content

Commit

Permalink
fix(MulticastClient): catch all exceptions in Listen #83
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Oct 19, 2019
1 parent a6c5fa4 commit 1eaf192
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/MulticastClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,7 @@ void Listen(UdpClient receiver)

await task.ConfigureAwait(false);
}
catch (NullReferenceException)
{
return;
}
catch (ObjectDisposedException)
catch
{
return;
}
Expand Down

0 comments on commit 1eaf192

Please sign in to comment.