]> git.sesse.net Git - vlc/commitdiff
macosx: Dont' forget to unlock.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 20 Sep 2008 14:02:44 +0000 (16:02 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 20 Sep 2008 14:03:25 +0000 (16:03 +0200)
modules/gui/macosx/intf.m

index 7a7643f7c1e0155be130df7781e61fb3dcddf6cb..6e0c6ce204d033cca1320b29419d29b46c670375 100644 (file)
@@ -1414,7 +1414,9 @@ static void * ManageThread( void *user_data )
 
         vlc_mutex_unlock( &p_intf->change_lock );
 
+        vlc_object_unlock( p_intf );
         msleep( INTF_IDLE_SLEEP );
+        vlc_object_lock( p_intf );
     }
     vlc_object_unlock( p_intf );
     [o_pool release];