From e37a7254d5cf7e4cfa5dcfbbaf5b0e9d7474d154 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 7 Aug 2022 19:35:08 +0300 Subject: using shield_fg() in atomic (now atomic_fg) --- kvmd/plugins/hid/_mcu/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd/plugins/hid/_mcu') diff --git a/kvmd/plugins/hid/_mcu/__init__.py b/kvmd/plugins/hid/_mcu/__init__.py index 595abbc4..0de017df 100644 --- a/kvmd/plugins/hid/_mcu/__init__.py +++ b/kvmd/plugins/hid/_mcu/__init__.py @@ -234,7 +234,7 @@ class BaseMcuHid(BaseHid, multiprocessing.Process): # pylint: disable=too-many- async def reset(self) -> None: self.__reset_required_event.set() - @aiotools.atomic + @aiotools.atomic_fg async def cleanup(self) -> None: if self.is_alive(): get_logger(0).info("Stopping HID daemon ...") -- cgit v1.2.3