mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 18:11:54 +08:00
using shield_fg() in atomic (now atomic_fg)
This commit is contained in:
@@ -113,7 +113,7 @@ class AuthManager:
|
||||
assert self.__enabled
|
||||
return self.__tokens.get(token)
|
||||
|
||||
@aiotools.atomic
|
||||
@aiotools.atomic_fg
|
||||
async def cleanup(self) -> None:
|
||||
if self.__enabled:
|
||||
assert self.__internal_service
|
||||
|
||||
Reference in New Issue
Block a user