fix: update task handling to properly restart and clear cached properties

This commit is contained in:
2026-07-06 22:40:48 +08:00
parent f1ea051b85
commit f420d72906
+3 -1
View File
@@ -219,7 +219,9 @@ class AzurLaneAutoScript:
del_cached_property(self, 'config') del_cached_property(self, 'config')
continue continue
if task.command != 'Restart': if task.command != 'Restart':
self.run('start') self.config.task_call('Restart')
del_cached_property(self, 'config')
continue
elif method == 'goto_main': elif method == 'goto_main':
logger.info('Goto main page during wait') logger.info('Goto main page during wait')
self.run('goto_main') self.run('goto_main')