modified: src/client.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit

This commit is contained in:
Michael Wain 2024-10-08 01:31:19 +03:00
parent 65f823ede6
commit 96c02d824b

View File

@ -49,9 +49,9 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
let m_env = Arc::new(Mutex::new(env));
tokio::spawn(async move {
while let Ok(bytes) = lrx.recv() {
let env = m_env.lock().await;
FridaLib::traceFromNative(&env, String::from_utf8_lossy(&bytes).to_string());
drop(env);
let d_env = m_env.lock().await;
FridaLib::traceFromNative(&d_env, String::from_utf8_lossy(&bytes).to_string());
drop(d_env);
}
});