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 5745fa5 commit 9b90835Copy full SHA for 9b90835
src/Ydb.Sdk/src/IDriver.cs
@@ -210,7 +210,7 @@ protected async ValueTask<CallOptions> GetCallOptions(GrpcRequestSettings settin
210
}
211
212
public ILoggerFactory LoggerFactory { get; }
213
- public void RegisterOwner() => ++_ownerCount;
+ public void RegisterOwner() => Interlocked.Increment(ref _ownerCount);
214
public bool IsDisposed => Disposed == 1;
215
216
public void Dispose() => DisposeAsync().AsTask().GetAwaiter().GetResult();
0 commit comments