Commit 8b4ff101 authored by Alexandre Julliard's avatar Alexandre Julliard

Use ExitProcess to terminate the process in ExitWindowsEx so that it

gets a chance to clean things up.
parent 8d830b62
......@@ -447,7 +447,7 @@ BOOL WINAPI ExitWindowsEx( UINT flags, DWORD reserved )
if (flags & EWX_REBOOT)
USER_StartRebootProcess();
if (result) ExitKernel16();
if (result) ExitProcess(0);
return TRUE;
}
......
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