Use ExitProcess to terminate the process in ExitWindowsEx so that it
gets a chance to clean things up.
This commit is contained in:
parent
8d830b6246
commit
8b4ff10119
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue