remove mutex
This commit is contained in:
parent
b26152b4d3
commit
6088963fbd
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user