Doesn't shutdown hal connection if initialisation failed.
authorRafaël Carré <funman@videolan.org>
Wed, 25 Apr 2007 12:38:10 +0000 (12:38 +0000)
committerRafaël Carré <funman@videolan.org>
Wed, 25 Apr 2007 12:38:10 +0000 (12:38 +0000)
(That usually happens when system D-Bus daemon is not running)

src/libvlc-common.c

index 657f9c8..5e02e79 100644 (file)
@@ -1952,7 +1952,6 @@ static void InitDeviceValues( libvlc_int_t *p_vlc )
     p_connection = dbus_bus_get ( DBUS_BUS_SYSTEM, &error );
     if( dbus_error_is_set( &error ) || !p_connection )
     {
-        libhal_ctx_shutdown( ctx, NULL );
         dbus_error_free( &error );
         return;
     }