Skip to content

Commit f68df39

Browse files
committed
Support cancellation on the flow control block
1 parent f6847f9 commit f68df39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/RabbitMQ.Client/client/impl/ChannelBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ protected ValueTask ModelSendAsync<TMethod, THeader>(in TMethod method, in THead
453453
{
454454
if (!_flowControlBlock.IsSet)
455455
{
456-
_flowControlBlock.Wait();
456+
_flowControlBlock.Wait(cancellationToken);
457457
}
458458

459459
return Session.TransmitAsync(in method, in header, body, cancellationToken);

0 commit comments

Comments
 (0)