Commit 5f84c2fc authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Attempt to avoid a crash. Note that this can't be working properly and...

macosx: Attempt to avoid a crash. Note that this can't be working properly and could create a rare race.
parent 2c39a261
...@@ -1238,7 +1238,7 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -1238,7 +1238,7 @@ static VLCMain *_o_sharedMainInstance = nil;
vlc_object_release( p_playlist ); vlc_object_release( p_playlist );
while( !intf_ShouldDie( p_intf ) ) while( (p_intf = VLCIntf) && !intf_ShouldDie( p_intf ) )
{ {
vlc_mutex_lock( &p_intf->change_lock ); vlc_mutex_lock( &p_intf->change_lock );
......
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