mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 18:07:21 +00:00
powrprof: Don't bother to close handles at process exit.
This commit is contained in:
parent
05c250dfcb
commit
30d7d31369
|
@ -341,6 +341,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case DLL_PROCESS_DETACH:
|
case DLL_PROCESS_DETACH:
|
||||||
|
if (lpvReserved) break;
|
||||||
CloseHandle(PPRegSemaphore);
|
CloseHandle(PPRegSemaphore);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue