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 ee578a2 commit 7f438faCopy full SHA for 7f438fa
src/Ydb.Sdk/src/Ado/Session/ImplicitSessionSource.cs
@@ -45,7 +45,7 @@ private bool TryAcquireLease()
45
internal void ReleaseLease()
46
{
47
if (Interlocked.Decrement(ref _activeLeaseCount) == 0 && Volatile.Read(ref _isDisposed) == 1)
48
- _drainedTcs.SetResult();
+ _drainedTcs.TrySetResult();
49
}
50
51
public async ValueTask DisposeAsync()
0 commit comments