summaryrefslogtreecommitdiff
path: root/kvmd/clients
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-08-07 19:18:23 +0300
committerMaxim Devaev <[email protected]>2022-08-07 19:18:23 +0300
commitfdc3edfa799b21f04a83676459bab7a4e67b056f (patch)
tree9c91c905c241094bfde6a620cc81b476a9f3f9ab /kvmd/clients
parent1d4b39ef1b039e7eeb2ceca74a7f9d40bfbeb0c0 (diff)
using shield_fg()
Diffstat (limited to 'kvmd/clients')
-rw-r--r--kvmd/clients/kvmd.py2
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: