]> git.sesse.net Git - vlc/commitdiff
skins2: cosmetics (for better reading)
authorErwan Tulou <erwan10@videolan.org>
Thu, 23 Jul 2009 20:52:51 +0000 (22:52 +0200)
committerErwan Tulou <erwan10@videolan.org>
Thu, 23 Jul 2009 20:56:11 +0000 (22:56 +0200)
modules/gui/skins2/src/skin_main.cpp

index bbb7f32bbfdd92c54b215a5b92a204cee9d4a180..0757f760493211ad78fc06b13237ac80b2065b52 100644 (file)
@@ -166,11 +166,11 @@ static void Close( vlc_object_t *p_this )
     skin_load.intf = NULL;
     vlc_mutex_unlock( &skin_load.mutex);
 
+    vlc_join( p_intf->p_sys->thread, NULL );
+
     vlc_mutex_destroy( &p_intf->p_sys->init_lock );
     vlc_cond_destroy( &p_intf->p_sys->init_wait );
 
-    vlc_join( p_intf->p_sys->thread, NULL );
-
     if( p_intf->p_sys->p_playlist )
         pl_Release( p_this );