Skip to content

Commit

Permalink
Added missing overload (fixes #996).
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet committed Sep 23, 2021
1 parent 327407f commit 76c1be4
Showing 1 changed file with 19 additions and 0 deletions.
Expand Up @@ -124,6 +124,25 @@ public FesStatement(DatabaseBase db, TransactionBase transaction)

#region Dispose2

public override void Dispose2()
{
if (!_disposed)
{
_disposed = true;
Release();
Clear();
_db = null;
_fields = null;
_parameters = null;
_transaction = null;
OutputParameters = null;
_statusVector = null;
_allRowsFetched = false;
_handle.Dispose();
FetchSize = 0;
base.Dispose2();
}
}
public override async ValueTask Dispose2Async(CancellationToken cancellationToken = default)
{
if (!_disposed)
Expand Down

0 comments on commit 76c1be4

Please sign in to comment.