Commit 27073484 authored by Erwan Tulou's avatar Erwan Tulou

skins(Win): a proper way to terminate vlc

This fixes vlc hanging when closed via the popupmenu in the taskbar.
parent f021273d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment