Commit 30d7d313 authored by Alexandre Julliard's avatar Alexandre Julliard

powrprof: Don't bother to close handles at process exit.

parent 05c250df
......@@ -341,6 +341,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
break;
}
case DLL_PROCESS_DETACH:
if (lpvReserved) break;
CloseHandle(PPRegSemaphore);
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