Skip to content

Commit

Permalink
ACUtils.SqlDB2 1.0.0.143 - [bugfix] nullish check on dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
acattaneo-bitagora committed Feb 28, 2024
1 parent 911855e commit ce173f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ACUtils.SqlDB2/ACUtils.SqlDB2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<Authors>Andrea Cattaneo</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Version>1.0.0.142</Version>
<PackageVersion>1.0.0.142</PackageVersion>
<Version>1.0.0.143</Version>
<PackageVersion>1.0.0.143</PackageVersion>
<Description>Utility per interrogazione database DB2</Description>
<NeutralLanguage>it</NeutralLanguage>
<IncludeSymbols>true</IncludeSymbols>
Expand Down
4 changes: 2 additions & 2 deletions ACUtils.SqlDB2/SqlDB2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,8 @@ public void CompleteTransaction()
public void AbortTransaction()
{
useTransaction = false;
_transaction.Rollback();
_transaction.Dispose();
_transaction?.Rollback();
_transaction?.Dispose();
_transaction = null;
}

Expand Down

0 comments on commit ce173f9

Please sign in to comment.