- timer_queue_thread_proc: Add missing and required RtlExitUserThread before function exit. Fixes crashing of kernel32_winetest for sync.

svn path=/trunk/; revision=40932
This commit is contained in:
Michael Martin 2009-05-16 00:48:14 +00:00
parent 325b2659dc
commit 6c1741b0aa

View file

@ -239,6 +239,7 @@ static void WINAPI timer_queue_thread_proc(LPVOID p)
NtClose(q->event);
RtlDeleteCriticalSection(&q->cs);
RtlFreeHeap(RtlGetProcessHeap(), 0, q);
RtlExitUserThread(STATUS_SUCCESS);
}
static void queue_destroy_timer(struct queue_timer *t)