We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37c8110 + b12fb47 commit 3653cbeCopy full SHA for 3653cbe
projects/client/RabbitMQ.Client/src/client/impl/Connection.cs
@@ -1219,17 +1219,13 @@ public void HandleConnectionUnblocked()
1219
void IDisposable.Dispose()
1220
{
1221
MaybeStopHeartbeatTimers();
1222
- Abort();
1223
- if (ShutdownReport.Count > 0)
+ try
1224
1225
- foreach (ShutdownReportEntry entry in ShutdownReport)
1226
- {
1227
- if (entry.Exception != null)
1228
1229
- throw entry.Exception;
1230
- }
1231
1232
- throw new OperationInterruptedException(null);
+ Abort();
+ }
+ catch (OperationInterruptedException ignored)
+ {
+ // ignored, see rabbitmq/rabbitmq-dotnet-client#133
1233
}
1234
1235
0 commit comments