comctl32: Revert to waiting on just the thread object, since the thread no longer sends messages.
This commit is contained in:
parent
13d0803501
commit
9ab07d5b37
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue