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.
1 parent 8d10ee2 commit b12fb47Copy full SHA for b12fb47
projects/client/RabbitMQ.Client/src/client/impl/Connection.cs
@@ -1115,17 +1115,13 @@ public void HandleConnectionUnblocked()
1115
void IDisposable.Dispose()
1116
{
1117
MaybeStopHeartbeatTimers();
1118
- Abort();
1119
- if (ShutdownReport.Count > 0)
+ try
1120
1121
- foreach (ShutdownReportEntry entry in ShutdownReport)
1122
- {
1123
- if (entry.Exception != null)
1124
1125
- throw entry.Exception;
1126
- }
1127
1128
- throw new OperationInterruptedException(null);
+ Abort();
+ }
+ catch (OperationInterruptedException ignored)
+ {
+ // ignored, see rabbitmq/rabbitmq-dotnet-client#133
1129
}
1130
1131
0 commit comments