Fix crash when using Directory.dir_exists(path) on Android

(cherry picked from commit 4a57821349)
This commit is contained in:
volzhs 2016-10-17 01:29:31 +09:00 committed by Rémi Verschelde
parent 64b083b496
commit 00b0f3dfde

View File

@ -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;
} }