pdh: Don't bother to delete critical sections at process exit.
This commit is contained in:
parent
d6b7b7b6f0
commit
0b8c655591
|
@ -93,6 +93,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|||
DisableThreadLibraryCalls(hinstDLL);
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
if (lpvReserved) break;
|
||||
DeleteCriticalSection(&pdh_handle_cs);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue