Commit 3b6a320b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - should fix the double-free and the freezing on quit. Ref #1348

parent 18453ab2
...@@ -285,12 +285,12 @@ static void Init( intf_thread_t *p_intf ) ...@@ -285,12 +285,12 @@ static void Init( intf_thread_t *p_intf )
/* Launch */ /* Launch */
app->exec(); app->exec();
delete app;
/* And quit */ /* And quit */
MainInputManager::killInstance(); MainInputManager::killInstance();
DialogsProvider::killInstance(); DialogsProvider::killInstance();
delete p_intf->p_sys->p_mi; delete p_intf->p_sys->p_mi;
delete app;
} }
/***************************************************************************** /*****************************************************************************
......
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