Skip to content

Commit 6db296e

Browse files
committed
Remove extra connection deactivation.
1 parent ac757fa commit 6db296e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ConnectionPool/WaitHandleDbConnectionPool.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,8 +1379,6 @@ public void PutObjectFromTransactedPool(DbConnectionInternal obj)
13791379
Debug.Assert(obj != null, "null pooledObject?");
13801380
Debug.Assert(obj.EnlistedTransaction == null, "pooledObject is still enlisted?");
13811381

1382-
obj.DeactivateConnection();
1383-
13841382
// called by the transacted connection pool , once it's removed the
13851383
// connection from it's list. We put the connection back in general
13861384
// circulation.

0 commit comments

Comments
 (0)