mirror of
https://github.com/Artikash/Textractor.git
synced 2025-01-09 17:23:51 +08:00
dont message removing empty hook
This commit is contained in:
parent
1759b74fd3
commit
b9a4a94d61
@ -285,7 +285,7 @@ void TextHook::RemoveReadCode()
|
||||
void TextHook::Clear()
|
||||
{
|
||||
std::scoped_lock lock(*viewMutex);
|
||||
ConsoleOutput(REMOVING_HOOK, hp.name);
|
||||
if (*hp.name) ConsoleOutput(REMOVING_HOOK, hp.name);
|
||||
if (hp.type & DIRECT_READ) RemoveReadCode();
|
||||
else RemoveHookCode();
|
||||
NotifyHookRemove(address);
|
||||
|
Loading…
x
Reference in New Issue
Block a user