summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/android/dir_access_jandroid.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/android/dir_access_jandroid.cpp b/platform/android/dir_access_jandroid.cpp
index be2ffde2cd..57376f8103 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;
}