mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 09:48:20 +08:00
Opt: Stop scrcpy server during wait
This commit is contained in:
@@ -65,6 +65,12 @@ class Device(Screenshot, Control, AppControl, EmulatorManager):
|
||||
|
||||
return self.image
|
||||
|
||||
def release_during_wait(self):
|
||||
# Scrcpy server is still sending video stream,
|
||||
# stop it during wait
|
||||
if self.config.Emulator_ScreenshotMethod == 'scrcpy':
|
||||
self._scrcpy_server_stop()
|
||||
|
||||
def stuck_record_add(self, button):
|
||||
self.detect_record.add(str(button))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user