don't log an error when running GetCurrentThread from non winpr thread
Since 7c4a774e4e
this can legitimately happen in WaitForMultipleObjectsEx and is not
actually an error.
This commit is contained in:
parent
1a951a7ebc
commit
cec88e53bd
@ -815,13 +815,6 @@ WINPR_THREAD* winpr_GetCurrentThread(VOID)
|
||||
return (HANDLE)&mainThread;
|
||||
|
||||
ret = TlsGetValue(currentThreadTlsIndex);
|
||||
if (!ret)
|
||||
{
|
||||
WLog_ERR(TAG, "function called, but no matching entry in thread list!");
|
||||
#if defined(WITH_DEBUG_THREADS)
|
||||
DumpThreadHandles();
|
||||
#endif
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user