Commit ad6657e3 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Removed SERVICE_Exit().

parent 79f203af
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
BOOL SERVICE_Init( void ); BOOL SERVICE_Init( void );
void SERVICE_Exit( void );
HANDLE SERVICE_AddObject( HANDLE object, HANDLE SERVICE_AddObject( HANDLE object,
PAPCFUNC callback, ULONG_PTR callback_arg ); PAPCFUNC callback, ULONG_PTR callback_arg );
......
...@@ -313,7 +313,6 @@ HINSTANCE MAIN_WinelibInit( int *argc, char *argv[] ) ...@@ -313,7 +313,6 @@ HINSTANCE MAIN_WinelibInit( int *argc, char *argv[] )
pModule->module32 = wm->module; pModule->module32 = wm->module;
if (!TASK_Create( THREAD_Current(), pModule, 0, 0, FALSE )) return 0; if (!TASK_Create( THREAD_Current(), pModule, 0, 0, FALSE )) return 0;
TASK_StartTask( PROCESS_Current()->task );
/* Initialize GDI and USER */ /* Initialize GDI and USER */
if (!LoadLibraryA( "GDI32.DLL" )) return 0; if (!LoadLibraryA( "GDI32.DLL" )) return 0;
...@@ -335,8 +334,6 @@ void WINAPI ExitKernel16( void ) ...@@ -335,8 +334,6 @@ void WINAPI ExitKernel16( void )
WriteOutProfiles16(); WriteOutProfiles16();
SHELL_SaveRegistry(); SHELL_SaveRegistry();
SERVICE_Exit(); TerminateProcess( GetCurrentProcess(), 0 );
exit(0);
} }
...@@ -204,14 +204,6 @@ BOOL SERVICE_Init( void ) ...@@ -204,14 +204,6 @@ BOOL SERVICE_Init( void )
} }
/*********************************************************************** /***********************************************************************
* SERVICE_Exit
*/
void SERVICE_Exit( void )
{
TerminateThread( Service->thread, 0 );
}
/***********************************************************************
* SERVICE_AddObject * SERVICE_AddObject
*/ */
HANDLE SERVICE_AddObject( HANDLE object, HANDLE SERVICE_AddObject( HANDLE object,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment