This commit is contained in:
LoveSy 2022-06-27 15:51:18 +08:00
parent 7bc6d9ffe6
commit ca19d61942

View File

@ -643,8 +643,8 @@ using ::lsplant::IsHooked;
LOGE("Unable to unhook a method that is not hooked"); LOGE("Unable to unhook a method that is not hooked");
return false; return false;
} }
hooked_methods_.erase(it);
hooked_methods_.erase(it->second.second); hooked_methods_.erase(it->second.second);
hooked_methods_.erase(it);
} }
} }
{ {