fix: forgot to call MH_RemoveHook()

This commit is contained in:
xastrix
2025-10-30 23:20:22 +03:00
parent fe31aba107
commit 0afac763a8
2 changed files with 2 additions and 2 deletions
@@ -114,6 +114,8 @@ auto CHook_Loader::InstallHooks() -> bool
auto CHook_Loader::DestroyHooks() -> void
{
MH_DisableHook( MH_ALL_HOOKS );
MH_RemoveHook( MH_ALL_HOOKS );
MH_Uninitialize();
}