From 275d284705734d7e01e789c6b28418fc1edb698f Mon Sep 17 00:00:00 2001 From: alterdekim Date: Mon, 7 Oct 2024 22:21:23 +0300 Subject: [PATCH] modified: src/client.rs --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index abc7c29..8049c38 100644 --- a/src/client.rs +++ b/src/client.rs @@ -25,6 +25,7 @@ use robusta_jni::jni::JNIEnv; use crate::jni::FridaLib; pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIEnv<'_>) { + let (ltx, lrx) = unbounded::>(); ltx.send("Starting client...".as_bytes()); let sock = UdpSocket::bind("0.0.0.0:25565").await.unwrap(); @@ -40,7 +41,6 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE let sock_rec = Arc::new(sock); let sock_snd = sock_rec.clone(); - let (ltx, lrx) = unbounded::>(); let (tx, rx) = unbounded::>(); let (dx, mx) = unbounded::>();