[WaitForXXObject] use infinite timeout where possible

This commit is contained in:
akallabeth
2025-06-03 08:49:28 +02:00
parent bf643b1394
commit da05b25f3b
3 changed files with 10 additions and 8 deletions

View File

@@ -296,8 +296,7 @@ static DWORD WINAPI audin_server_thread_func(LPVOID arg)
while (1)
{
if ((status = WaitForMultipleObjects(nCount, events, FALSE, 100)) == WAIT_OBJECT_0)
goto out;
status = WaitForMultipleObjects(nCount, events, FALSE, 100);
if (status == WAIT_FAILED)
{