yihong0618 commented on code in PR #5746:
URL: https://github.com/apache/opendal/pull/5746#discussion_r1990352504
##########
bindings/java/src/executor.rs:
##########
@@ -43,7 +43,9 @@ thread_local! {
/// This function could be only called by java vm when unload this lib.
#[no_mangle]
pub unsafe extern "system" fn JNI_OnUnload(_: JavaVM, _: *mut c_void) {
- let _ = RUNTIME.take();
+ // Since OnceLock doesn't have a take() method, we can't remove the runtime
Review Comment:
will fix it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]