You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Fix leakage of JNI object references
Fixes https://github.com/godotengine/godot/issues/87548
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
#include "../../util.h"
|
||||
#include "../openxr_extension_wrapper.h"
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
class OpenXRAndroidExtension : public OpenXRExtensionWrapper {
|
||||
public:
|
||||
static OpenXRAndroidExtension *get_singleton();
|
||||
@@ -49,6 +51,8 @@ public:
|
||||
private:
|
||||
static OpenXRAndroidExtension *singleton;
|
||||
|
||||
JavaVM *vm;
|
||||
jobject activity_object;
|
||||
bool loader_init_extension_available = false;
|
||||
bool create_instance_extension_available = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user