Skip to content

Commit e083c5c

Browse files
committed
DNET-251
1 parent 115d51b commit e083c5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbConnectionInternal.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ public FbTransaction BeginTransaction(IsolationLevel level, string transactionNa
211211
}
212212
catch (IscException ex)
213213
{
214+
DisposeTransaction();
214215
throw new FbException(ex.Message, ex);
215216
}
216217

@@ -233,6 +234,7 @@ public FbTransaction BeginTransaction(FbTransactionOptions options, string trans
233234
}
234235
catch (IscException ex)
235236
{
237+
DisposeTransaction();
236238
throw new FbException(ex.Message, ex);
237239
}
238240

0 commit comments

Comments
 (0)