mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #6846 from volzhs/android-dir-exists
Fix crash when using Directory.dir_exists(path) on Android
This commit is contained in:
commit
bdce7eefa0
@ -203,7 +203,6 @@ bool DirAccessJAndroid::dir_exists(String p_dir) {
|
||||
return false;
|
||||
|
||||
env->CallVoidMethod(io,_dir_close,res);
|
||||
env->DeleteLocalRef(js);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user