Skip to content
Snippets Groups Projects
Commit 88a1a693 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

ntdll: Pass the correct handle to NtTerminateProcess().

parent e695982d
Branches
Tags
No related merge requests found
......@@ -124,7 +124,7 @@ void DECLSPEC_HIDDEN call_thread_func( PRTL_THREAD_START_ROUTINE entry, void *ar
}
__EXCEPT(call_unhandled_exception_filter)
{
NtTerminateProcess( GetCurrentThread(), GetExceptionCode() );
NtTerminateProcess( GetCurrentProcess(), GetExceptionCode() );
}
__ENDTRY
}
......@@ -140,7 +140,7 @@ void WINAPI RtlUserThreadStart( PRTL_THREAD_START_ROUTINE entry, void *arg )
}
__EXCEPT(call_unhandled_exception_filter)
{
NtTerminateProcess( GetCurrentThread(), GetExceptionCode() );
NtTerminateProcess( GetCurrentProcess(), GetExceptionCode() );
}
__ENDTRY
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment