Skip to content

Commit

Permalink
Added a call to DisableThreadLibraryCalls((HMODULE)hInstance); in `…
Browse files Browse the repository at this point in the history
…DllMain()` function as per solution 3 of #115.
  • Loading branch information
end2endzone committed Feb 7, 2023
1 parent 9168a32 commit d0134f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shellextension/shellext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,8 @@ extern "C" int APIENTRY DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpRe
{
g_hmodDll = hInstance;

DisableThreadLibraryCalls((HMODULE)hInstance);

//if (!shellanything::IsTestingEnvironment())
//{
// // Initialize Google's logging library.
Expand Down

0 comments on commit d0134f5

Please sign in to comment.