Skip to content

Commit 23f6fda

Browse files
Update projects/RabbitMQ.Client/Impl/Connection.cs
Co-authored-by: Paulo Morgado <[email protected]>
1 parent 0758c5b commit 23f6fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/RabbitMQ.Client/Impl/Connection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ internal async Task CloseAsync(ShutdownEventArgs reason, bool abort, TimeSpan ti
325325
timeout = InternalConstants.DefaultConnectionAbortTimeout;
326326
}
327327

328-
if (IsOpen && cancellationToken.IsCancellationRequested)
328+
if (IsOpen)
329329
{
330330
// Note: we really do need to try and close this connection!
331331
cancellationToken = CancellationToken.None;

0 commit comments

Comments
 (0)