Commit 0b8c6555 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent d6b7b7b6
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment