[vlc-devel] commit: Do not compete with libvlc in destroying interfaces ( in a broken way) ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Dec 21 13:43:04 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Dec 21 14:40:49 2008 +0200| [24a1e1ffc83173307f81f51292d2dc885deecea8] | committer: Rémi Denis-Courmont 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=24a1e1ffc83173307f81f51292d2dc885deecea8
---

 modules/control/ntservice.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/modules/control/ntservice.c b/modules/control/ntservice.c
index 1df3c5e..1791a29 100644
--- a/modules/control/ntservice.c
+++ b/modules/control/ntservice.c
@@ -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 );




More information about the vlc-devel mailing list