Skip to content

Commit 0fb2cbe

Browse files
committed
fixup
1 parent 5ea4b21 commit 0fb2cbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/RabbitMQ.Client/Impl/AutorecoveringChannel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal sealed class AutorecoveringChannel : IChannel, IRecoverable
5050

5151
private bool _disposed;
5252
private bool _isDisposing;
53-
private readonly object _isDisposingLock = new();
53+
private readonly object _locker = new();
5454

5555
private ushort _prefetchCountConsumer;
5656
private ushort _prefetchCountGlobal;
@@ -272,7 +272,7 @@ public async ValueTask DisposeAsync()
272272
return;
273273
}
274274

275-
lock (_isDisposingLock)
275+
lock (_locker)
276276
{
277277
if (_isDisposing)
278278
{

0 commit comments

Comments
 (0)