Skip to content

Commit

Permalink
* Add missing .ConfigureAwait(false) call
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebakken committed Feb 23, 2024
1 parent 3fda0cc commit f81afd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/RabbitMQ.Client/client/impl/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@ private async Task FinishCloseAsync(CancellationToken cancellationToken)
_closed = true;
MaybeStopHeartbeatTimers();

await _frameHandler.CloseAsync(cancellationToken);
await _frameHandler.CloseAsync(cancellationToken)
.ConfigureAwait(false);
_channel0.SetCloseReason(CloseReason);
_channel0.FinishClose();
RabbitMqClientEventSource.Log.ConnectionClosed();
Expand Down

0 comments on commit f81afd5

Please sign in to comment.