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
d533094ac3
commit
65a51cdbd2
@ -46,9 +46,12 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
|
||||
|
||||
let cipher_shared: Arc<Mutex<Option<x25519_dalek::SharedSecret>>> = Arc::new(Mutex::new(None));
|
||||
|
||||
let m_env = 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);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user