Commit 636dc013 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

ntdll: Use call_dll_entry_point to execute TLS callbacks.

parent b7f77bb1
......@@ -1030,7 +1030,7 @@ static void call_tls_callbacks( HMODULE module, UINT reason )
GetCurrentThreadId(), *callback, module, reason_names[reason] );
__TRY
{
(*callback)( module, reason, NULL );
call_dll_entry_point( (DLLENTRYPROC)*callback, module, reason, NULL );
}
__EXCEPT_ALL
{
......
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