diff --git a/edxp-core/src/main/cpp/main/src/edxp_context.cpp b/edxp-core/src/main/cpp/main/src/edxp_context.cpp index c9833e60..331e18c5 100644 --- a/edxp-core/src/main/cpp/main/src/edxp_context.cpp +++ b/edxp-core/src/main/cpp/main/src/edxp_context.cpp @@ -59,6 +59,7 @@ namespace edxp { } void Context::PreLoadDex(const std::vector &dex_paths) { + if (LIKELY(!dexes.empty())) return; for (const auto &path: dex_paths) { std::ifstream is(path, std::ios::binary); if (!is.good()) {