modified: src/client.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
This commit is contained in:
parent
65f823ede6
commit
96c02d824b
@ -49,9 +49,9 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
|
|||||||
let m_env = Arc::new(Mutex::new(env));
|
let m_env = Arc::new(Mutex::new(env));
|
||||||
tokio::spawn(async move {
|
tokio::spawn(async move {
|
||||||
while let Ok(bytes) = lrx.recv() {
|
while let Ok(bytes) = lrx.recv() {
|
||||||
let env = m_env.lock().await;
|
let d_env = m_env.lock().await;
|
||||||
FridaLib::traceFromNative(&env, String::from_utf8_lossy(&bytes).to_string());
|
FridaLib::traceFromNative(&d_env, String::from_utf8_lossy(&bytes).to_string());
|
||||||
drop(env);
|
drop(d_env);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user