[vlc-devel] commit: Windows(skins2) and MacOS : do not release the GUI interface at this early stage of vlc termination. ( Erwan Tulou )

git version control git at videolan.org
Tue Jun 23 00:09:10 CEST 2009


vlc | branch: 1.0-bugfix | Erwan Tulou <erwan10 at videolan.org> | Mon Jun 22 23:07:06 2009 +0200| [f9c1ec6f701ffe0cb4780006f08ef9b87499177d] | committer: Erwan Tulou 

Windows(skins2) and MacOS : do not release the GUI interface at this early stage of vlc termination.

Release will occur in the loop where all remaining interfaces get released once the playlist is deactivated.

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

 src/interface/interface.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/interface/interface.c b/src/interface/interface.c
index 284e38f..6cf7707 100644
--- a/src/interface/interface.c
+++ b/src/interface/interface.c
@@ -146,10 +146,6 @@ int intf_RunThread( intf_thread_t *p_intf )
         vlc_object_kill( p_intf->p_libvlc );
         vlc_thread_join( p_intf );
 
-        vlc_object_detach( p_intf );
-        if( p_intf->p_module )
-            module_unneed( p_intf, p_intf->p_module );
-        vlc_object_release( p_intf );
         return VLC_SUCCESS;
     }
 #endif




More information about the vlc-devel mailing list