mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:29:26 +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