1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

close unremoved connections (pool already removed the connection)

This commit is contained in:
Thomas Grainger
2023-12-15 19:11:25 +00:00
parent 8e13af2ee9
commit cc4d03c62e

View File

@@ -387,6 +387,8 @@ class ConnectionRemover:
readd_connections.append(connection)
for connection in readd_connections:
pool._put_conn(connection)
for connection in connections:
connection.close()
def reset_patchers():