comctl32: Revert to waiting on just the thread object, since the thread no longer sends messages.

This commit is contained in:
Huw Davies 2008-03-11 14:15:47 +00:00 committed by Alexandre Julliard
parent 13d0803501
commit 9ab07d5b37
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ static BOOL ANIMATE_DoStop(ANIMATE_INFO *infoPtr)
if (infoPtr->threadId != GetCurrentThreadId())
{
LeaveCriticalSection(&infoPtr->cs); /* leave it a chance to run */
MsgWaitForMultipleObjects( 1, &handle, FALSE, INFINITE, QS_ALLINPUT );
WaitForSingleObject( handle, INFINITE );
TRACE("animation thread stopped\n");
EnterCriticalSection(&infoPtr->cs);
}