Skip to content

Commit

Permalink
修复修复了模拟器崩溃的问题后真机崩溃的问题
Browse files Browse the repository at this point in the history
wssb
  • Loading branch information
chinosk6 committed May 23, 2024
1 parent b120aca commit 63d2c26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,9 @@ class UnityResolve final {
auto xdlAddr = xdl_sym(hmodule_, funcName.c_str(), NULL);
if (!xdlAddr) {
address_[funcName] = dlsym(hmodule_, funcName.c_str());
}
else {
address_[funcName] = xdlAddr;
}
}
#endif
Expand Down

0 comments on commit 63d2c26

Please sign in to comment.