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.
1 parent a6d3325 commit fb13f19Copy full SHA for fb13f19
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