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

If the thread does nothing, we might as well exit

parent 9ba4d0ff
......@@ -227,13 +227,6 @@ static void* RunInterface( vlc_object_t *p_this )
/* Give control to the interface */
if( p_intf->pf_run )
p_intf->pf_run( p_intf );
else
{
vlc_object_lock( p_intf );
while( vlc_object_alive( p_intf ) )
vlc_object_wait( p_intf );
vlc_object_unlock( p_intf );
}
vlc_restorecancel (canc);
return NULL;
......
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