-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
多开mower和多开模拟器中的adb链接问题 #622
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
多个mower进行任务时,其中一个任务完成关闭模拟器并断开adb连接,会导致其他未完成任务的mower对其使用的模拟器也断开链接。
我认为原因在adb_client/core.py中对kill-server的错误使用。
我认为其逻辑应该是如果adb进程中注册了多个devices,则关闭对应的device,shell命令是adb disconcert [ip],如果只有一个device号则kill-server。
这个问题影响到多开mower,具体表现为1号mower关闭了adb进程,2号mower又重启了adb,之后就陷入死循环了。
(
arknights-mower/arknights_mower/utils/device/adb_client/core.py
Line 117 in bd5e660
The text was updated successfully, but these errors were encountered: