Skip to content

Commit

Permalink
Fix awaiting for closing client session
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks committed May 7, 2023
1 parent 3ed4107 commit 97eb228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karcher/karcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async def close(self):

if self._http is not None:
if not self._http_external:
self._http.close()
await self._http.close()
self._http = None

async def _request(self, method: str, url: str, **kwargs) -> aiohttp.ClientResponse:
Expand Down

0 comments on commit 97eb228

Please sign in to comment.