Skip to content

Commit 97eb228

Browse files
committed
Fix awaiting for closing client session
1 parent 3ed4107 commit 97eb228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

karcher/karcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async def close(self):
8787

8888
if self._http is not None:
8989
if not self._http_external:
90-
self._http.close()
90+
await self._http.close()
9191
self._http = None
9292

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

0 commit comments

Comments
 (0)