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.
abort
1 parent 19cc98b commit 5421696Copy full SHA for 5421696
projects/RabbitMQ.Client/client/impl/Connection.cs
@@ -374,17 +374,7 @@ await _session0.TransmitAsync(method, cancellationToken)
374
await _mainLoopTask.WaitAsync(timeout, cancellationToken)
375
.ConfigureAwait(false);
376
}
377
- catch (AggregateException)
378
- {
379
- }
380
- // TODO timeout vs real cancellation?
381
- catch (OperationCanceledException)
382
383
384
- catch (TimeoutException)
385
386
387
- finally
+ catch
388
{
389
try
390
@@ -395,6 +385,11 @@ await _frameHandler.CloseAsync()
395
catch
396
397
+
+ if (false == abort)
+ {
391
+ throw;
392
+ }
398
393
399
394
400
0 commit comments