We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b9ccd0 commit fc97eedCopy full SHA for fc97eed
src/Ydb.Sdk/src/Ado/Session/ImplicitSessionSource.cs
@@ -30,9 +30,6 @@ public ValueTask<ISession> OpenSession(CancellationToken cancellationToken)
30
31
private bool TryAcquireLease()
32
{
33
- if (Volatile.Read(ref _isDisposed) != 0)
34
- return false;
35
-
36
Interlocked.Increment(ref _activeLeaseCount);
37
38
if (Volatile.Read(ref _isDisposed) == 0)
0 commit comments