Skip to content

Commit 3459cb9

Browse files
committed
AutorecoveringChannel use token
1 parent b2282c7 commit 3459cb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ await newChannel.TxSelectAsync(cancellationToken)
197197

198198
if (_disposed)
199199
{
200-
await newChannel.AbortAsync()
200+
await newChannel.AbortAsync(CancellationToken.None)
201201
.ConfigureAwait(false);
202202
return false;
203203
}
@@ -207,7 +207,7 @@ await newChannel.AbortAsync()
207207

208208
if (recoverConsumers)
209209
{
210-
await _connection.RecoverConsumersAsync(this, newChannel, recordedEntitiesSemaphoreHeld)
210+
await _connection.RecoverConsumersAsync(this, newChannel, recordedEntitiesSemaphoreHeld, cancellationToken)
211211
.ConfigureAwait(false);
212212
}
213213

0 commit comments

Comments
 (0)