refactor(app): 调整应用关闭逻辑

This commit is contained in:
Quan 2025-12-13 00:04:19 +08:00
parent 9d1861b59e
commit d7ab7595e6

View File

@ -556,10 +556,10 @@ class XHS:
await self.id_recorder.__aexit__(exc_type, exc_value, traceback)
await self.data_recorder.__aexit__(exc_type, exc_value, traceback)
await self.map_recorder.__aexit__(exc_type, exc_value, traceback)
await self.stop_script_server()
await self.close()
async def close(self):
await self.stop_script_server()
await self.manager.close()
@staticmethod