mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
tesmart rewrite
This commit is contained in:
@@ -295,7 +295,7 @@ class UserGpio:
|
||||
async def cleanup(self) -> None:
|
||||
for driver in self.__drivers.values():
|
||||
try:
|
||||
driver.cleanup()
|
||||
await driver.cleanup()
|
||||
except Exception:
|
||||
get_logger().exception("Can't cleanup driver %s", driver)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user