diff options
author | volzhs <volzhs@gmail.com> | 2016-10-17 01:29:31 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2016-10-17 01:29:31 +0900 |
commit | 4a57821349fc8fd4d4c7e375a1f8cf09623ee856 (patch) | |
tree | 9e1ad00acca9853b1dca78f5830531ca1a8cd592 /platform/android | |
parent | 89132224a651c0e0d4121270f63decb9a678ff88 (diff) |
Fix crash when using Directory.dir_exists(path) on Android
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/dir_access_jandroid.cpp | 1 |
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; } |