mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Fix crash when using Directory.dir_exists(path) on Android
This commit is contained in:
parent
89132224a6
commit
4a57821349
@ -203,7 +203,6 @@ bool DirAccessJAndroid::dir_exists(String p_dir) {
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
env->CallVoidMethod(io,_dir_close,res);
|
env->CallVoidMethod(io,_dir_close,res);
|
||||||
env->DeleteLocalRef(js);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user