Revert "explicitly .close() task in http.request_many()"
This reverts commit 7478d62b77
.
This commit is contained in:
parent
7478d62b77
commit
366a7bf326
1 changed files with 0 additions and 1 deletions
|
@ -258,7 +258,6 @@ def request_many(requests: typing.List[Request]) -> typing.Dict[str, Response]:
|
|||
task = asyncio.wait(awaits, loop=loop, timeout=5)
|
||||
loop.run_until_complete(task)
|
||||
loop.close()
|
||||
task.close()
|
||||
|
||||
return responses
|
||||
|
||||
|
|
Loading…
Reference in a new issue