[vlc-devel] commit: Playlist: join safely ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jul 5 14:16:11 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jul 5 15:18:06 2008 +0300| [c792a6fd950a99c91f6af9991251162600efed97]
Playlist: join safely
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c792a6fd950a99c91f6af9991251162600efed97
---
src/libvlc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index 73eed93..f31f150 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -960,6 +960,8 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
/* Free 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 );
/* Free interaction */
More information about the vlc-devel
mailing list