Commit a0329834 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Remove another unsafe sout cleanup hack

parent 031c6028
......@@ -209,21 +209,6 @@ static void ObjectGarbageCollector( playlist_t *p_playlist, bool b_force )
vlc_object_release( p_obj );
vlc_object_release( (vout_thread_t *)p_obj );
}
#ifdef ENABLE_SOUT
while( ( p_obj = vlc_object_find( p_playlist, VLC_OBJECT_SOUT,
FIND_CHILD ) ) )
{
if( p_obj->p_parent != VLC_OBJECT(p_playlist) )
{
vlc_object_release( p_obj );
break;
}
msg_Dbg( p_playlist, "garbage collector destroying 1 sout" );
vlc_object_detach( p_obj );
vlc_object_release( p_obj );
sout_DeleteInstance( (sout_instance_t*)p_obj );
}
#endif
p_playlist->b_cant_sleep = false;
vlc_mutex_unlock( &p_playlist->gc_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