modified: src/client.rs
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
modified: src/main.rs
This commit is contained in:
parent
65c3026e89
commit
208823e0cc
@ -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() => {
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user