Terminate System Thread after execution...forgot to add this for some
reason.Thanks to WaxDragon for reporting it
Modified: trunk/reactos/ntoskrnl/ps/thread.c
_____
Modified: trunk/reactos/ntoskrnl/ps/thread.c
--- trunk/reactos/ntoskrnl/ps/thread.c 2005-04-23 04:12:49 UTC (rev
14755)
+++ trunk/reactos/ntoskrnl/ps/thread.c 2005-04-23 04:19:35 UTC (rev
14756)
@@ -87,6 +87,9 @@
/* Call it */
(StartRoutine)(StartContext);
}
+
+ /* Exit the thread */
+ PspExitThread(STATUS_SUCCESS);
}
NTSTATUS