mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
using shield_fg() in atomic (now atomic_fg)
This commit is contained in:
@@ -164,7 +164,7 @@ class Plugin(BaseHid): # pylint: disable=too-many-instance-attributes
|
||||
self.clear_events()
|
||||
self.__server.queue_event(ResetEvent())
|
||||
|
||||
@aiotools.atomic
|
||||
@aiotools.atomic_fg
|
||||
async def cleanup(self) -> None:
|
||||
if self.__proc is not None:
|
||||
if self.__proc.is_alive():
|
||||
|
||||
Reference in New Issue
Block a user