modified: src/main.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-12 18:30:42 +03:00
parent e566e42e46
commit 8e601254bf

View File

@ -32,7 +32,7 @@ static LOG_FILE: std::sync::Mutex<Option<File>> = std::sync::Mutex::new(None);
pub fn log2java(text: String) {
if let Ok(mut l) = LOG_FILE.lock() {
if let Some(ff) = l.take() {
ff.unwrap().write_all(text.as_bytes());
ff.write_all(text.as_bytes());
//jni::FridaLib::traceFromNative(l.unwrap(), text);
}
}