mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 22:05:38 +00: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_debugger_window);
|
||||
cancelGameListRefresh();
|
||||
|
||||
// we compare here, since recreate destroys the window later
|
||||
if (g_main_window == this)
|
||||
|
|
Loading…
Reference in a new issue