Skip to content

Commit

Permalink
Optional refactoring that reduces #if directives in merged TdsParserS…
Browse files Browse the repository at this point in the history
…tateObject also benefits merged SqlInternalTransaction.
  • Loading branch information
panoskj committed Sep 24, 2023
1 parent f692e73 commit 13aa573
Showing 1 changed file with 0 additions and 2 deletions.
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 13aa573

Please sign in to comment.