mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 23:47:02 +08:00
Fix: stop FGO-py before join logger thread
This commit is contained in:
@@ -104,6 +104,7 @@ def export_method(func):
|
||||
script = FgoAutoScript(config_name)
|
||||
script.config.bind(inflection.camelize(func.__name__))
|
||||
getattr(script, func.__name__)()
|
||||
script.app.pipe.stdin.close()
|
||||
script.app.logger.join(10)
|
||||
return wrapper
|
||||
|
||||
|
||||
Reference in New Issue
Block a user