From eeecf386a74efb622ccbfd8fa2b57a4148dd274b Mon Sep 17 00:00:00 2001 From: The Judge Date: Wed, 18 Dec 2024 21:09:38 -0800 Subject: [PATCH] Don't attach --- src/main/jni/vloader.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/jni/vloader.cpp b/src/main/jni/vloader.cpp index 54820d49..7ca6a5ea 100644 --- a/src/main/jni/vloader.cpp +++ b/src/main/jni/vloader.cpp @@ -53,8 +53,6 @@ Java_org_vivecraft_util_VLoader_getEGLConfig(JNIEnv* env, jclass clazz) { extern "C" JNIEXPORT void JNICALL Java_org_vivecraft_util_VLoader_setupAndroid(JNIEnv* env, jclass clazz) { - JNIEnv *newEnv; - pojav_environ->dalvikJavaVMPtr->AttachCurrentThread(&newEnv, NULL); pojav_environ->dalvikJNIEnvPtr_ANDROID->CallStaticVoidMethod(pojav_environ->bridgeClazz, pojav_environ->method_stopXR); }