pdh: Don't bother to delete critical sections at process exit.

This commit is contained in:
Alexandre Julliard 2013-05-16 12:54:20 +02:00
parent d6b7b7b6f0
commit 0b8c655591
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}