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

Playlist: join safely

parent a90d6a3d
...@@ -960,6 +960,8 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc ) ...@@ -960,6 +960,8 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
/* Free playlist */ /* Free playlist */
msg_Dbg( p_libvlc, "removing playlist" ); msg_Dbg( p_libvlc, "removing playlist" );
vlc_object_kill( priv->p_playlist );
vlc_thread_join( priv->p_playlist );
vlc_object_release( priv->p_playlist ); vlc_object_release( priv->p_playlist );
/* Free interaction */ /* Free interaction */
......
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