[vlc-devel] commit: skins(Win): a proper way to terminate vlc (Erwan Tulou )

git version control git at videolan.org
Mon Dec 28 22:17:12 CET 2009


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Mon Dec 28 21:30:46 2009 +0100| [27073484ea8d550d4131c876cca477a664911e68] | committer: Erwan Tulou 

skins(Win): a proper way to terminate vlc

This fixes vlc hanging when closed via the popupmenu in the taskbar.

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

 modules/gui/skins2/win32/win32_factory.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/skins2/win32/win32_factory.cpp b/modules/gui/skins2/win32/win32_factory.cpp
index 3618886..8edae05 100644
--- a/modules/gui/skins2/win32/win32_factory.cpp
+++ b/modules/gui/skins2/win32/win32_factory.cpp
@@ -69,7 +69,7 @@ LRESULT CALLBACK Win32Proc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
             if( wParam == SC_CLOSE )
             {
                 Win32Loop *pLoop = (Win32Loop*)Win32Loop::instance( p_intf );
-                pLoop->exit();
+                libvlc_Quit( p_intf->p_libvlc );
                 return 0;
             }
             else




More information about the vlc-devel mailing list