1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 01:38:21 +08:00

Fix: Can bind same address multiple time

Monkey patched uvicorn.config.Config.bing_socket

- Fix: task_handler in app does not stop when clearup
This commit is contained in:
18870
2022-01-10 03:32:12 +08:00
parent d2b7eec381
commit abf6e94510
3 changed files with 76 additions and 1 deletions

View File

@@ -941,6 +941,7 @@ def clearup():
for alas in AlasManager.all_alas.values():
alas.stop()
AlasManager.sync_manager.shutdown()
task_handler.stop()
logger.info("Alas closed.")