Skip to content

Commit 50f7e65

Browse files
committed
merge branch 'stable'
2 parents 57ead23 + 167e29c commit 50f7e65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/client/RabbitMQ.Client/src/client/impl/Connection.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ public void HeartbeatReadTimerCallback(object state)
10251025
_heartbeatReadTimer.Change(Heartbeat * 1000, Timeout.Infinite);
10261026
}
10271027
}
1028-
catch (ObjectDisposedException ignored)
1028+
catch (ObjectDisposedException)
10291029
{
10301030

10311031
// timer is already disposed,
@@ -1062,7 +1062,7 @@ public void HeartbeatWriteTimerCallback(object state)
10621062
FinishClose();
10631063
}
10641064
}
1065-
catch (ObjectDisposedException ignored)
1065+
catch (ObjectDisposedException)
10661066
{
10671067
// timer is already disposed,
10681068
// e.g. due to shutdown
@@ -1084,7 +1084,7 @@ private void MaybeDisposeTimer(ref Timer timer)
10841084
timer.Change(Timeout.Infinite, Timeout.Infinite);
10851085
timer.Dispose();
10861086
}
1087-
catch (ObjectDisposedException ignored)
1087+
catch (ObjectDisposedException)
10881088
{
10891089
timer = null;
10901090
}

0 commit comments

Comments
 (0)