summaryrefslogtreecommitdiff
path: root/kvmd/apps/vnc/rfb
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/apps/vnc/rfb
parent1d4b39ef1b039e7eeb2ceca74a7f9d40bfbeb0c0 (diff)
using shield_fg()
Diffstat (limited to 'kvmd/apps/vnc/rfb')
-rw-r--r--kvmd/apps/vnc/rfb/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/apps/vnc/rfb/__init__.py b/kvmd/apps/vnc/rfb/__init__.py
index 172d52ba..059d4d1d 100644
--- a/kvmd/apps/vnc/rfb/__init__.py
+++ b/kvmd/apps/vnc/rfb/__init__.py
@@ -101,7 +101,7 @@ class RfbClient(RfbClientStream): # pylint: disable=too-many-instance-attribute
try:
await aiotools.wait_first(*tasks)
finally:
- await asyncio.shield(self.__cleanup(tasks))
+ await aiotools.shield_fg(self.__cleanup(tasks))
async def __cleanup(self, tasks: List[asyncio.Task]) -> None:
for task in tasks: