diff options
author | Maxim Devaev <[email protected]> | 2022-08-07 19:18:23 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-08-07 19:18:23 +0300 |
commit | fdc3edfa799b21f04a83676459bab7a4e67b056f (patch) | |
tree | 9c91c905c241094bfde6a620cc81b476a9f3f9ab /kvmd/clients | |
parent | 1d4b39ef1b039e7eeb2ceca74a7f9d40bfbeb0c0 (diff) |
using shield_fg()
Diffstat (limited to 'kvmd/clients')
-rw-r--r-- | kvmd/clients/kvmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/clients/kvmd.py b/kvmd/clients/kvmd.py index 3f258a3b..f8b0d811 100644 --- a/kvmd/clients/kvmd.py +++ b/kvmd/clients/kvmd.py @@ -170,7 +170,7 @@ class KvmdClientWs: if writer_task: writer_task.cancel() try: - await asyncio.shield(self.__ws.close()) + await aiotools.shield_fg(self.__ws.close()) except Exception: pass finally: |