mirror of https://github.com/FreeRDP/FreeRDP
winpr-thread: added an assertion to enforce that thread_list is correctly set
This commit is contained in:
parent
93127e0a7a
commit
56f34582c7
|
@ -349,7 +349,8 @@ static BOOL winpr_StartThread(WINPR_THREAD *thread)
|
|||
WLog_ERR(TAG, "failed to launch the thread");
|
||||
goto error;
|
||||
}
|
||||
|
||||
assert(ListDictionary_Contains(thread_list, &thread->thread));
|
||||
|
||||
pthread_attr_destroy(&attr);
|
||||
dump_thread(thread);
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in New Issue