mirror of
https://github.com/Artikash/Textractor.git
synced 2025-01-10 01:33: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()
|
void TextHook::Clear()
|
||||||
{
|
{
|
||||||
std::scoped_lock lock(*viewMutex);
|
std::scoped_lock lock(*viewMutex);
|
||||||
ConsoleOutput(REMOVING_HOOK, hp.name);
|
if (*hp.name) ConsoleOutput(REMOVING_HOOK, hp.name);
|
||||||
if (hp.type & DIRECT_READ) RemoveReadCode();
|
if (hp.type & DIRECT_READ) RemoveReadCode();
|
||||||
else RemoveHookCode();
|
else RemoveHookCode();
|
||||||
NotifyHookRemove(address);
|
NotifyHookRemove(address);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user