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

OSX interface: remove dummy lock acquisition

It is only used from a single thread
parent eb5d8fad
...@@ -1460,7 +1460,6 @@ static void manage_cleanup( void * args ) ...@@ -1460,7 +1460,6 @@ static void manage_cleanup( void * args )
while( true ) while( true )
{ {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
vlc_mutex_lock( &p_intf->change_lock );
if( !p_input ) if( !p_input )
{ {
...@@ -1490,8 +1489,6 @@ static void manage_cleanup( void * args ) ...@@ -1490,8 +1489,6 @@ static void manage_cleanup( void * args )
/* Manage volume status */ /* Manage volume status */
[self manageVolumeSlider]; [self manageVolumeSlider];
vlc_mutex_unlock( &p_intf->change_lock );
msleep( INTF_IDLE_SLEEP ); msleep( INTF_IDLE_SLEEP );
[pool release]; [pool release];
......
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