[vlc-commits] addons: missing threads join

Francois Cartegnie git at videolan.org
Thu Feb 20 00:09:08 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Feb 20 00:05:53 2014 +0100| [b5c92530e885e639343fb4828f8327f830cf8c0f] | committer: Francois Cartegnie

addons: missing threads join

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b5c92530e885e639343fb4828f8327f830cf8c0f
---

 src/misc/addons.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/misc/addons.c b/src/misc/addons.c
index 941c286..7127798 100644
--- a/src/misc/addons.c
+++ b/src/misc/addons.c
@@ -174,6 +174,9 @@ void addons_manager_Delete( addons_manager_t *p_manager )
         vlc_cancel( p_manager->p_priv->installer.thread );
     vlc_mutex_unlock( &p_manager->p_priv->installer.lock );
 
+    vlc_join( p_manager->p_priv->finder.thread, NULL );
+    vlc_join( p_manager->p_priv->installer.thread, NULL );
+
     vlc_event_manager_fini( p_manager->p_event_manager );
 
 #define FREE_QUEUE( name ) \



More information about the vlc-commits mailing list