Commit b939d657 authored by Rafaël Carré's avatar Rafaël Carré

Doesn't shutdown hal connection if initialisation failed.

(That usually happens when system D-Bus daemon is not running)
parent 1b39631e
......@@ -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;
}
......
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