Skip to content

Commit 648fb4e

Browse files
fix: 修复adb控制器的isconnected不奏效的bug (#1070)
1 parent 8a4e2a5 commit 648fb4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/MaaAdbControlUnit/General/Connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ bool Connection::is_alive() const
153153
if (!monitor_ios_) {
154154
return false;
155155
}
156-
return monitor_ios_->is_open();
156+
return monitor_ios_->running();
157157
}
158158

159159
MAA_CTRL_UNIT_NS_END

0 commit comments

Comments
 (0)