static void main_cleanup( )
{
miracle_server_shutdown( server );
- mlt_factory_close( );
}
/** Report usage and exit.
int background = 1;
struct timespec tm = { 5, 0 };
- // Construct the factory
- mlt_factory_init( getenv( "MLT_REPOSITORY" ) );
-
server = miracle_server_init( argv[ 0 ] );
for ( index = 1; index < argc; index ++ )
local->parser = parser;
local->root_dir[0] = '/';
}
+
+ // Construct the factory
+ mlt_factory_init( getenv( "MLT_REPOSITORY" ) );
}
return parser;
}
pthread_kill_other_threads_np();
miracle_log( LOG_DEBUG, "Clean shutdown." );
free( local );
+ mlt_factory_close( );
}
static void main_cleanup( )
{
miracle_server_shutdown( server );
- mlt_factory_close( );
}
/** Report usage and exit.
int background = 1;
struct timespec tm = { 5, 0 };
- // Construct the factory
- mlt_factory_init( getenv( "MLT_REPOSITORY" ) );
-
server = miracle_server_init( argv[ 0 ] );
for ( index = 1; index < argc; index ++ )
local->parser = parser;
local->root_dir[0] = '/';
}
+
+ // Construct the factory
+ mlt_factory_init( getenv( "MLT_REPOSITORY" ) );
}
return parser;
}
pthread_kill_other_threads_np();
miracle_log( LOG_DEBUG, "Clean shutdown." );
free( local );
+ mlt_factory_close( );
}