Net fixes

This commit is contained in:
luboslenco
2025-09-12 16:18:18 +02:00
parent 15813392fa
commit bcedb87ded
5 changed files with 10 additions and 15 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ void iron_https_request(const char *url_base, const char *url_path, const char *
jbyte *elements = (*env)->GetByteArrayElements(env, bytes_array, NULL);
if (elements != NULL) {
callback((char *)elements, callbackdata);
// (*env)->ReleaseByteArrayElements(env, bytes_array, elements, JNI_ABORT);
(*env)->ReleaseByteArrayElements(env, bytes_array, elements, JNI_ABORT);
}
(*vm)->DetachCurrentThread(vm);