Changes to be committed:
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
4e611782df
commit
2107e04155
@ -66,15 +66,11 @@ mod jni {
|
|||||||
return Err(err);
|
return Err(err);
|
||||||
}*/
|
}*/
|
||||||
mobile::mobile_run(config_b32, close_fd_on_drop, tun_fd, env, close_token).await;
|
mobile::mobile_run(config_b32, close_fd_on_drop, tun_fd, env, close_token).await;
|
||||||
Ok::<(), E>(())
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let exit_code = match tokio::runtime::Builder::new_multi_thread().enable_all().build() {
|
let exit_code = match tokio::runtime::Builder::new_multi_thread().enable_all().build() {
|
||||||
Err(_e) => -3,
|
Err(_e) => -3,
|
||||||
Ok(rt) => match rt.block_on(main_loop) {
|
Ok(rt) => { rt.block_on(main_loop); -4 }
|
||||||
Ok(_) => 0,
|
|
||||||
Err(_e) => -4,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Ok(exit_code)
|
Ok(exit_code)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user