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 0e9caa2 commit 30d63e8Copy full SHA for 30d63e8
platform/android/java_godot_lib_jni.cpp
@@ -83,6 +83,10 @@ static Vector3 magnetometer;
83
static Vector3 gyroscope;
84
85
static void _terminate(JNIEnv *env, bool p_restart = false) {
86
+ if (step.get() == STEP_TERMINATED) {
87
+ return;
88
+ }
89
+
90
step.set(STEP_TERMINATED); // Ensure no further steps are attempted and no further events are sent
91
92
// lets cleanup
0 commit comments