Terminate the process on exit in NtProcessStartup.

svn path=/trunk/; revision=15454
This commit is contained in:
Hartmut Birr 2005-05-21 12:21:30 +00:00
parent 69350ef25a
commit 385055dd76

View file

@ -3945,6 +3945,7 @@ NtProcessStartup(PPEB Peb)
/* Reboot */
FreeConsole();
NtShutdownSystem(ShutdownReboot);
NtTerminateProcess(NtCurrentProcess(), 0);
}
/* EOF */