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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user