We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a6d3325 + fb13f19 commit 1fb596cCopy full SHA for 1fb596c
rust/src/async_api/mod.rs
@@ -69,7 +69,8 @@ impl Jvm {
69
70
// Create and return the Instance
71
let instance = rx.await?;
72
- let new_jni_env = Jvm::attach_thread()?.jni_env;
+ let new_jvm = Jvm::attach_thread()?;
73
+ let new_jni_env = new_jvm.jni_env;
74
Self::do_return(new_jni_env, instance)?
75
}
76
0 commit comments