From a809fb2f62f28f8cbf1a4a92f7c63651909f78a7 Mon Sep 17 00:00:00 2001 From: alterdekim Date: Sat, 5 Oct 2024 03:16:30 +0300 Subject: [PATCH] modified: src/mobile.rs --- src/mobile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mobile.rs b/src/mobile.rs index 5afac3a..992fdd1 100644 --- a/src/mobile.rs +++ b/src/mobile.rs @@ -8,7 +8,7 @@ use jni::sys::jint; pub fn mobile_run(cfg_raw: String, close_fd_on_drop: bool, tun_fd: jint) -> c_int { let config: ClientConfiguration = serde_yaml::from_slice(RFC4648.decode(cfg_raw.as_bytes()).unwrap().as_slice()).expect("Bad client config file structure"); - let block = client::client_mode(config, tun_fd); + client::client_mode(config, tun_fd).await; /*let block = async move { let mut config = tun2::Configuration::default();