Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MH_Initialize being called twice but it should be called just once.. #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0x-FADED
Copy link

@0x-FADED 0x-FADED commented Dec 7, 2024

It was already being initialized in IHH::IHH() and in the FunctionHook class g_isMinHookInitialized was not being set true so it was being initialized again. It's better to remove code initializing from FunctionHook class because it will be calling during IHH::IHH() or before any hook is created

It was already being initialized in IHH::IHH() and in the FunctionHook class g_isMinHookInitialized was not being set true so it was being initialized again
@0x-FADED 0x-FADED changed the title Fix MH_Initialize being called twice but it should be calling just once.. Fix MH_Initialize being called twice but it should be called just once.. Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant