Add logic to unregister the Godot plugins on engine termination
This commit is contained in:
parent
daa81bbb7d
commit
5a74e5812b
6 changed files with 38 additions and 15 deletions
|
|
@ -244,6 +244,7 @@ public:
|
|||
|
||||
~JNISingleton() {
|
||||
#ifdef ANDROID_ENABLED
|
||||
method_map.clear();
|
||||
if (instance) {
|
||||
JNIEnv *env = get_jni_env();
|
||||
ERR_FAIL_NULL(env);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue