Skip to content

Commit fc97eed

Browse files
fix
1 parent 5b9ccd0 commit fc97eed

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Ydb.Sdk/src/Ado/Session/ImplicitSessionSource.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ public ValueTask<ISession> OpenSession(CancellationToken cancellationToken)
3030

3131
private bool TryAcquireLease()
3232
{
33-
if (Volatile.Read(ref _isDisposed) != 0)
34-
return false;
35-
3633
Interlocked.Increment(ref _activeLeaseCount);
3734

3835
if (Volatile.Read(ref _isDisposed) == 0)

0 commit comments

Comments
 (0)