Skip to content

Comments

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

Open
0x-FADED wants to merge 1 commit intoTinManTex:masterfrom
0x-FADED:mh_init_fix
Open

Fix MH_Initialize being called twice but it should be called just once..#29
0x-FADED wants to merge 1 commit intoTinManTex:masterfrom
0x-FADED:mh_init_fix

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