evr: Add missing LeaveCriticalSection on creating tracking thread.
Signed-off-by: yuhaidong <yuhaidong@uniontech.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1a16b9e9aa
commit
1647524ba0
|
@ -345,6 +345,7 @@ static void video_sample_create_tracking_thread(void)
|
|||
{
|
||||
WARN("Failed to create sample tracking thread.\n");
|
||||
CloseHandle(ready_event);
|
||||
LeaveCriticalSection(&tracking_thread_cs);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue