modified: src/client.rs
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good

This commit is contained in:
Michael Wain 2024-10-12 05:24:45 +03:00
parent a67b227d8c
commit 595c2f908b

View File

@ -119,11 +119,11 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
let s_cipher = cipher_shared.clone();
loop {
if close_token.is_cancelled() {
//if close_token.is_cancelled() {
//sock_read_task.abort();
//dev_read_task.abort();
return;
}
//return;
//}
if let Ok(bytes) = rx.try_recv() {
ltx.send("Write to tun.".as_bytes().to_vec());
if let Err(e) = dev_writer.write_all(&bytes).await {