From 00b0f3dfde647b207a815e83bd1110ccd077146e Mon Sep 17 00:00:00 2001 From: volzhs Date: Mon, 17 Oct 2016 01:29:31 +0900 Subject: [PATCH] Fix crash when using Directory.dir_exists(path) on Android (cherry picked from commit 4a57821349fc8fd4d4c7e375a1f8cf09623ee856) --- platform/android/dir_access_jandroid.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/platform/android/dir_access_jandroid.cpp b/platform/android/dir_access_jandroid.cpp index be2ffde2cd0..57376f8103d 100644 --- a/platform/android/dir_access_jandroid.cpp +++ b/platform/android/dir_access_jandroid.cpp @@ -203,7 +203,6 @@ bool DirAccessJAndroid::dir_exists(String p_dir) { return false; env->CallVoidMethod(io,_dir_close,res); - env->DeleteLocalRef(js); return true; }