Skip to content

Commit e36f9bc

Browse files
delete unuse check disposing
1 parent 7e21419 commit e36f9bc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Ydb.Sdk/src/Ado/Session/PoolingSessionSource.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ YdbConnectionStringBuilder settings
4848

4949
public ValueTask<ISession> OpenSession(CancellationToken cancellationToken = default)
5050
{
51-
if (IsDisposed)
52-
throw new YdbException("The session source has been shut down.");
53-
5451
cancellationToken.ThrowIfCancellationRequested();
5552

5653
return TryGetIdleSession(out var session)

0 commit comments

Comments
 (0)