Commit 9ab07d5b authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

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

parent 13d08035
...@@ -161,7 +161,7 @@ static BOOL ANIMATE_DoStop(ANIMATE_INFO *infoPtr) ...@@ -161,7 +161,7 @@ static BOOL ANIMATE_DoStop(ANIMATE_INFO *infoPtr)
if (infoPtr->threadId != GetCurrentThreadId()) if (infoPtr->threadId != GetCurrentThreadId())
{ {
LeaveCriticalSection(&infoPtr->cs); /* leave it a chance to run */ LeaveCriticalSection(&infoPtr->cs); /* leave it a chance to run */
MsgWaitForMultipleObjects( 1, &handle, FALSE, INFINITE, QS_ALLINPUT ); WaitForSingleObject( handle, INFINITE );
TRACE("animation thread stopped\n"); TRACE("animation thread stopped\n");
EnterCriticalSection(&infoPtr->cs); EnterCriticalSection(&infoPtr->cs);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment