mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Terminate the process on exit in NtProcessStartup.
svn path=/trunk/; revision=15454
This commit is contained in:
@@ -3945,6 +3945,7 @@ NtProcessStartup(PPEB Peb)
|
||||
/* Reboot */
|
||||
FreeConsole();
|
||||
NtShutdownSystem(ShutdownReboot);
|
||||
NtTerminateProcess(NtCurrentProcess(), 0);
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
||||
Reference in New Issue
Block a user