[WINLOGON]

Do not call HandleShutdown() with NULL Session.

svn path=/trunk/; revision=53980
This commit is contained in:
Dmitry Gorbachev 2011-10-03 22:33:14 +00:00
parent fd0fe37dd9
commit 41999a48d5

View file

@ -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);
}