Skip to content

Commit

Permalink
6. Optional refactoring that reduces #if directives in merged TdsPars…
Browse files Browse the repository at this point in the history
…erStateObject also benefits merged SqlInternalTransaction.
  • Loading branch information
panoskj committed Oct 25, 2023
1 parent 6b00579 commit 98f818a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,7 @@ internal void CloseFromConnection()
}
finally
{
#if NETFRAMEWORK
TdsParser.ReliabilitySection.Assert("unreliable call to CloseFromConnection"); // you need to setup for a thread abort somewhere before you call this method
#endif
if (processFinallyBlock)
{
// Always ensure we're zombied; 2005 will send an EnvChange that
Expand Down

0 comments on commit 98f818a

Please sign in to comment.