Revert "explicitly .close() task in http.request_many()"

This reverts commit 7478d62b77.
This commit is contained in:
jesopo 2020-01-06 17:17:49 +00:00
parent 7478d62b77
commit 366a7bf326

View file

@ -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