Removed SERVICE_Exit().
diff --git a/loader/main.c b/loader/main.c
index cce1f8e..63bf6df 100644
--- a/loader/main.c
+++ b/loader/main.c
@@ -313,7 +313,6 @@
pModule->module32 = wm->module;
if (!TASK_Create( THREAD_Current(), pModule, 0, 0, FALSE )) return 0;
- TASK_StartTask( PROCESS_Current()->task );
/* Initialize GDI and USER */
if (!LoadLibraryA( "GDI32.DLL" )) return 0;
@@ -335,8 +334,6 @@
WriteOutProfiles16();
SHELL_SaveRegistry();
- SERVICE_Exit();
-
- exit(0);
+ TerminateProcess( GetCurrentProcess(), 0 );
}