vlc_thread_set_priority( p_libvlc, VLC_THREAD_PRIORITY_LOW );
#endif
- /* Store our newly allocated structure in the global list */
- vlc_object_attach( p_libvlc, p_libvlc_global );
-
/* Store data for the non-reentrant API */
p_static_vlc = p_libvlc;
/* Destroy mutexes */
vlc_mutex_destroy( &p_libvlc->config_lock );
- vlc_object_detach( p_libvlc );
if( b_release ) vlc_object_release( p_libvlc );
vlc_object_destroy( p_libvlc );