modified: src/client.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
This commit is contained in:
parent
0255e1cfef
commit
f23f931cdd
@ -47,9 +47,10 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, close_toke
|
||||
let (cancel_dr, mut listen_dr) = oneshot::channel();
|
||||
let dev_read_task = tokio::spawn(async move {
|
||||
let mut buf = vec![0; 1400]; // mtu
|
||||
let listen = listen_dr.clone();
|
||||
loop {
|
||||
tokio::select! {
|
||||
_ = listen_dr => {
|
||||
_ = listen => {
|
||||
return;
|
||||
}
|
||||
rr = dev_reader.read(&mut buf) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user