]> git.sesse.net Git - vlc/commitdiff
skins(Win): a proper way to terminate vlc
authorErwan Tulou <erwan10@videolan.org>
Mon, 28 Dec 2009 20:30:46 +0000 (21:30 +0100)
committerErwan Tulou <erwan10@videolan.org>
Mon, 28 Dec 2009 21:16:28 +0000 (22:16 +0100)
This fixes vlc hanging when closed via the popupmenu in the taskbar.

modules/gui/skins2/win32/win32_factory.cpp

index 3618886dea05b5fce1402b6d2a8f950c86b7e1e1..8edae0588d231015ff5315f362abc1bccbb3a8fc 100644 (file)
@@ -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