msiexec: Make service thread do nothing by waiting for the kill event instead of using an empty loop.
This commit is contained in:
parent
0463d01f15
commit
957f7013d2
|
@ -100,10 +100,7 @@ static void WINAPI ServiceCtrlHandler(DWORD code)
|
|||
|
||||
static DWORD WINAPI ServiceExecutionThread(LPVOID param)
|
||||
{
|
||||
while (TRUE)
|
||||
{
|
||||
/* do nothing */
|
||||
}
|
||||
WaitForSingleObject(kill_event, INFINITE);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue