mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
fix: 修复socket方式截图不可用的问题
This commit is contained in:
@@ -522,9 +522,6 @@ std::optional<unsigned short> asst::Controller::try_to_init_socket(const std::st
|
||||
|
||||
uint16_t max_port = try_port + try_times;
|
||||
for (uint16_t port = try_port; port < max_port; ++port) {
|
||||
if (need_exit()) {
|
||||
break;
|
||||
}
|
||||
Log.trace("try to bind port", port);
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user