Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #671 from achimnol/feature/duplicate-pool-closing
Browse files Browse the repository at this point in the history
Fix duplicate calls to pool.wait_closed() upon create_pool() exception
  • Loading branch information
popravich committed Dec 2, 2019
2 parents f2b6746 + 68490a8 commit 58195ac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion aioredis/pool.py
Expand Up @@ -59,7 +59,6 @@ async def create_pool(address, *, db=None, password=None, ssl=None,
except Exception:
pool.close()
await pool.wait_closed()
await pool.wait_closed()
raise
return pool

Expand Down

0 comments on commit 58195ac

Please sign in to comment.