mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: not async .close() for aiohttp.ClientResponse
This commit is contained in:
parent
ba251d21df
commit
2b73cdbbc4
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ class _WebPipe:
|
|||
|
||||
async def close(self):
|
||||
if self._response and not self._response.closed:
|
||||
await self._response.close()
|
||||
self._response.close()
|
||||
if self._session and not self._session.closed:
|
||||
await self._session.close()
|
||||
if self._lock.locked():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue