mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 14:24:45 +00:00
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
1 changed files with 1 additions and 4 deletions
|
@ -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 a new issue