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

Do not compete with libvlc in destroying interfaces (in a broken way)

parent 70a5a293
......@@ -158,15 +158,6 @@ static void Run( intf_thread_t *p_intf )
free( p_intf->p_sys->psz_service );
/* Stop and destroy the interfaces we spawned */
while( (p_extraintf = vlc_object_find(p_intf, VLC_OBJECT_INTF, FIND_CHILD)))
{
intf_StopThread( p_extraintf );
vlc_object_detach( p_extraintf );
vlc_object_release( p_extraintf );
vlc_object_release( p_extraintf );
}
/* Make sure we exit (In case other interfaces have been spawned) */
vlc_object_kill( p_intf->p_libvlc );
vlc_restorecancel( canc );
......
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