Skip to content

Commit

Permalink
Fix use of Enqueue return value in two places.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebakken committed Oct 1, 2024
1 parent be1d1e3 commit b2975b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/RabbitMQ.Client/Impl/ChannelBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1632,7 +1632,7 @@ await _rpcSemaphore.WaitAsync(k.CancellationToken)
.ConfigureAwait(false);
try
{
Enqueue(k);
enqueued = Enqueue(k);

var method = new QueueUnbind(queue, exchange, routingKey, arguments);
await ModelSendAsync(in method, k.CancellationToken)
Expand Down Expand Up @@ -1719,7 +1719,7 @@ await _rpcSemaphore.WaitAsync(k.CancellationToken)
.ConfigureAwait(false);
try
{
Enqueue(k);
enqueued = Enqueue(k);

var method = new TxSelect();
await ModelSendAsync(in method, k.CancellationToken)
Expand Down

0 comments on commit b2975b0

Please sign in to comment.