fix:修复全局变量all_function_registry导致iot描述无法更新bug

This commit is contained in:
hrz
2025-05-21 18:35:34 +08:00
parent 0dc267c109
commit 76342b09ff
4 changed files with 46 additions and 19 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ async def main():
await asyncio.wait(
[stdin_task, ws_task, ota_task] if ota_task else [stdin_task, ws_task],
timeout=3.0,
return_when=asyncio.ALL_COMPLETED
return_when=asyncio.ALL_COMPLETED,
)
print("服务器已关闭,程序退出。")