remove mutex

This commit is contained in:
quaK 2024-07-03 13:11:28 +03:00
parent b26152b4d3
commit 6088963fbd

View File

@ -23,8 +23,6 @@
namespace arxan
{
std::mutex arxan_mutex;
namespace integrity
{
const std::vector<std::pair<uint8_t*, size_t>>& get_text_sections()
@ -663,8 +661,6 @@ namespace arxan
void post_load() override
{
const std::lock_guard<std::mutex> lock(arxan_mutex);
remove_hardware_breakpoints();
hide_being_debugged();
scheduler::loop(hide_being_debugged, scheduler::pipeline::async);
@ -685,8 +681,6 @@ namespace arxan
void post_unpack() override
{
const std::lock_guard<std::mutex> lock(arxan_mutex);
remove_hardware_breakpoints();
search_and_patch_integrity_checks();
if (!utils::nt::is_wine())