]> git.sesse.net Git - vlc/blobdiff - modules/control/ntservice.c
Qt: re-enable services dicovery and fix them
[vlc] / modules / control / ntservice.c
index 1df3c5ea3ce4af3db9aacad306a899884c9ef9be..1791a29f351945a7f54ad6c84b63ebd3b128e339 100644 (file)
@@ -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 );