Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from thesupersonic16/fix1
Browse files Browse the repository at this point in the history
Fixed DllMain
  • Loading branch information
Sajidur78 authored Sep 29, 2019
2 parents 73d96cf + dd8797f commit c279347
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/LostCodeLoader/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,12 @@ BOOL APIENTRY DllMain( HMODULE hModule,
{
case DLL_PROCESS_ATTACH:
InitLoader();
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
RaiseEvents(modExitEvents);
break;
case DLL_PROCESS_DETACH:
RaiseEvents(modExitEvents);
break;
}
return TRUE;
Expand Down

0 comments on commit c279347

Please sign in to comment.