gather_and_close now automatically locks the pool

This commit is contained in:
2022-03-29 19:43:21 +02:00
parent 23a4cb028a
commit 1beb9fc9b0
7 changed files with 7 additions and 29 deletions
-1
View File
@@ -43,7 +43,6 @@ async def main():
...
pool.stop(3)
...
pool.lock()
await pool.gather_and_close()
...
```