mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-28 20:11:09 -04:00
Qt: Fix a possible crash on shutdown
If the game list is being refreshed due to play time update.
This commit is contained in:
parent
52817d967b
commit
81823562fa
@ -106,6 +106,7 @@ MainWindow::~MainWindow()
|
|||||||
{
|
{
|
||||||
Assert(!m_display_widget);
|
Assert(!m_display_widget);
|
||||||
Assert(!m_debugger_window);
|
Assert(!m_debugger_window);
|
||||||
|
cancelGameListRefresh();
|
||||||
|
|
||||||
// we compare here, since recreate destroys the window later
|
// we compare here, since recreate destroys the window later
|
||||||
if (g_main_window == this)
|
if (g_main_window == this)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user