mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 04:49:17 +08:00
Fix: Login failed more than 3 due to GameTooManyClickError in last login
This commit is contained in:
@@ -109,3 +109,11 @@ class Device(Screenshot, Control, AppControl):
|
|||||||
|
|
||||||
if self.config.ENABLE_GAME_STUCK_HANDLER:
|
if self.config.ENABLE_GAME_STUCK_HANDLER:
|
||||||
raise GameStuckError(f'Wait too long')
|
raise GameStuckError(f'Wait too long')
|
||||||
|
|
||||||
|
def app_start(self):
|
||||||
|
super().app_start()
|
||||||
|
self.stuck_record_clear()
|
||||||
|
|
||||||
|
def app_stop(self):
|
||||||
|
super().app_stop()
|
||||||
|
self.stuck_record_clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user