diff --git a/src/MulticastClient.cs b/src/MulticastClient.cs index ad20b6a..a324380 100644 --- a/src/MulticastClient.cs +++ b/src/MulticastClient.cs @@ -175,11 +175,7 @@ void Listen(UdpClient receiver) await task.ConfigureAwait(false); } - catch (NullReferenceException) - { - return; - } - catch (ObjectDisposedException) + catch { return; }