diff options
| author | 2022-10-11 17:35:48 +0000 | |
|---|---|---|
| committer | 2022-10-11 17:35:48 +0000 | |
| commit | f150c42bbb98f41755d365b7c2ec65f522470fdd (patch) | |
| tree | ff46da17a92fc75cd251f37ced826680c8fc226f /runtime/native/dalvik_system_DexFile.cc | |
| parent | fed2c53ebeed592a1f5e56af423f001bc3109864 (diff) | |
| parent | dcbc91efa4acc666466de3811aedbd3e57084537 (diff) | |
Merge "Merge tm-qpr-dev-plus-aosp-without-vendor@9129937" into stage-aosp-master
Diffstat (limited to 'runtime/native/dalvik_system_DexFile.cc')
| -rw-r--r-- | runtime/native/dalvik_system_DexFile.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/native/dalvik_system_DexFile.cc b/runtime/native/dalvik_system_DexFile.cc index 960a1f7375..845974c5c1 100644 --- a/runtime/native/dalvik_system_DexFile.cc +++ b/runtime/native/dalvik_system_DexFile.cc @@ -404,6 +404,7 @@ static jboolean DexFile_closeDexFile(JNIEnv* env, jclass, jobject cookie) { if (!class_linker->IsDexFileRegistered(soa.Self(), *dex_file)) { // Clear the element in the array so that we can call close again. long_dex_files->Set(i, 0); + class_linker->RemoveDexFromCaches(*dex_file); delete dex_file; } else { all_deleted = false; |