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 490321c commit 3b85daeCopy full SHA for 3b85dae
src/Ydb.Sdk/src/IDriver.cs
@@ -211,7 +211,7 @@ protected async ValueTask<CallOptions> GetCallOptions(GrpcRequestSettings settin
211
212
public ILoggerFactory LoggerFactory { get; }
213
public void RegisterOwner() => _ownerCount++;
214
- public bool IsDisposed => Disposed == 1;
+ public bool IsDisposed => Volatile.Read(ref Disposed) == 1;
215
216
public void Dispose() => DisposeAsync().AsTask().GetAwaiter().GetResult();
217
0 commit comments