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

modified:   src/main.rs
This commit is contained in:
Michael Wain 2024-10-14 02:53:09 +03:00
parent 65c3026e89
commit 208823e0cc
2 changed files with 3 additions and 3 deletions

View File

@ -141,8 +141,8 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, close_toke
info!("Cancellation token has been thrown");
sr_cancel.cancel();
dr_cancel.cancel();
dev_read_task.await;
sock_read_task.await;
//dev_read_task.await;
//sock_read_task.await;
return;
}
rr = rx.recv() => {

View File

@ -75,7 +75,7 @@ mod jni {
let exit_code = match tokio::runtime::Builder::new_multi_thread().enable_all().build() {
Err(_e) => -3,
Ok(rt) => { rt.spawn(main_loop); -4 } //spawn
Ok(rt) => { rt.block_on(main_loop); -4 } //spawn
};
Ok(exit_code)