Changes to be committed:
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-12 04:47:26 +03:00
parent 4e611782df
commit 2107e04155

View File

@ -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)