Skip to content

Commit 9b90835

Browse files
revert
1 parent 5745fa5 commit 9b90835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ydb.Sdk/src/IDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ protected async ValueTask<CallOptions> GetCallOptions(GrpcRequestSettings settin
210210
}
211211

212212
public ILoggerFactory LoggerFactory { get; }
213-
public void RegisterOwner() => ++_ownerCount;
213+
public void RegisterOwner() => Interlocked.Increment(ref _ownerCount);
214214
public bool IsDisposed => Disposed == 1;
215215

216216
public void Dispose() => DisposeAsync().AsTask().GetAwaiter().GetResult();

0 commit comments

Comments
 (0)