virtualx-engine/platform/android/java/lib
Fredia Huya-Kouadio 4d0da74014 Fix the cleanup logic for the Android render thread
On Android the exit logic goes through `Godot#onDestroy()` who attempts to cleanup the engine using the following code:

```
runOnRenderThread {
	GodotLib.ondestroy()
	forceQuit()
}
```

The issue however is that by the time we ran this code, the render thread has already been paused (but not yet destroyed), and thus `GodotLib.ondestroy()` and `forceQuit()` which are scheduled on the render thread are not executed.

To address this, we instead explicitly request the render thread to exit and block until it does. As part of it exit logic, the render thread has been updated to properly destroy and clean the native instance of the Godot engine, resolving the issue.
2024-07-24 10:17:46 -07:00
..
aidl/com/android/vending/licensing Complete the implementation of the GodotPayment plugin. 2020-03-17 17:43:09 -07:00
patches Split the Android platform java logic into an Android library module (lib) and an application module (app). 2019-09-04 16:20:22 -07:00
res Add "filesRoot" path to Android provider paths xml 2023-03-09 19:11:08 +00:00
src Fix the cleanup logic for the Android render thread 2024-07-24 10:17:46 -07:00
srcTest/java/org/godotengine/godot/utils Extract parsing command line file to a separate class + add unit tests 2024-04-04 10:18:57 +01:00
AndroidManifest.xml Update Android dependencies for the project 2024-01-18 10:35:32 -08:00
build.gradle Merge pull request #90147 from melquiadess/remove-redundant-semicolons 2024-04-04 14:37:31 +02:00
THIRDPARTY.md Split the Android platform java logic into an Android library module (lib) and an application module (app). 2019-09-04 16:20:22 -07:00