mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 18:11:54 +08:00
using shield_fg()
This commit is contained in:
@@ -66,7 +66,7 @@ class ExtrasInfoSubmanager(BaseInfoSubmanager):
|
||||
return None
|
||||
finally:
|
||||
if sui is not None:
|
||||
await asyncio.shield(sui.close())
|
||||
await aiotools.shield_fg(sui.close())
|
||||
|
||||
def __get_extras_path(self, *parts: str) -> str:
|
||||
return os.path.join(self.__global_config.kvmd.info.extras, *parts)
|
||||
|
||||
Reference in New Issue
Block a user