Commit a440126c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

intf_Create: do not fail if libvlc is exiting

This should fix VLC reporting an interface error if it is interrupted
early.
parent 860b78b3
......@@ -128,12 +128,6 @@ int intf_Create( vlc_object_t *p_this, const char *psz_module )
goto error;
}
vlc_mutex_lock( &lock );
if( !vlc_object_alive( p_libvlc ) )
{
vlc_mutex_unlock( &lock );
goto error; /* Too late! */
}
#if defined( __APPLE__ ) || defined( WIN32 )
/* Hack to get Mac OS X Cocoa runtime running
* (it needs access to the main thread) */
......
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