Commit ce40baa1 authored by Olivier Teulière's avatar Olivier Teulière

 * ./plugins/win32: fixed the bug on exiting the vout pressing 'q'
parent ae51691c
......@@ -106,7 +106,10 @@ static void intf_Run( intf_thread_t *p_intf )
p_intf->p_sys->p_window = new TMainFrameDlg( NULL );
p_intf->p_sys->p_playlist = new TPlaylistDlg( NULL );
p_intf->p_sys->p_messages = new TMessagesDlg( NULL );
/* show main window and wait until it is closed */
p_intf->p_sys->p_window->ShowModal();
if( p_intf->p_sys->p_disc ) delete p_intf->p_sys->p_disc;
if( p_intf->p_sys->p_network ) delete p_intf->p_sys->p_network;
if( p_intf->p_sys->p_preferences ) delete p_intf->p_sys->p_preferences;
......@@ -219,7 +222,6 @@ int Win32Manage( intf_thread_t *p_intf )
/* Prepare to die, young Skywalker */
p_intf->p_sys->p_window->ModalResult = mrOk;
delete p_intf->p_sys->p_window;
/* Just in case */
return( FALSE );
......
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