mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-25 20:36:47 +08:00
refactor(app): 调整应用关闭逻辑
This commit is contained in:
parent
9d1861b59e
commit
d7ab7595e6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user