mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 17:35:07 +00:00
[WINLOGON]
Do not call HandleShutdown() with NULL Session. svn path=/trunk/; revision=53980
This commit is contained in:
parent
fd0fe37dd9
commit
41999a48d5
|
@ -368,7 +368,6 @@ WinMain(
|
|||
if (!RegisterLogonProcess(GetCurrentProcessId(), TRUE))
|
||||
{
|
||||
ERR("WL: Could not register logon process\n");
|
||||
HandleShutdown(NULL, WLX_SAS_ACTION_SHUTDOWN_POWER_OFF);
|
||||
NtShutdownSystem(ShutdownNoReboot);
|
||||
ExitProcess(0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue