Enforce bounded operations deadlines and deployment readiness
This commit is contained in:
1 parent
cc7f87105d
commit
f451b55de1
11 files changed
+5912
-22
No files matched your search
@@ -28,7 +28,7 @@ public sealed class RequestTransaction(NpgsqlDataSource source) : IAsyncDisposab
|
||||
}
|
||||
public async ValueTask DisposeAsync()
|
||||
{
|
||||
if(Transaction is not null)await Transaction.DisposeAsync();
|
||||
if(Connection is not null)await Connection.DisposeAsync();
|
||||
if(Transaction is not null){await Transaction.DisposeAsync();Transaction=null;}
|
||||
if(Connection is not null){await Connection.DisposeAsync();Connection=null;}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user