From 81823562faaf665196420011b0bf87e771b35f3a Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 20 Dec 2022 20:45:20 +1000 Subject: [PATCH] Qt: Fix a possible crash on shutdown If the game list is being refreshed due to play time update. --- src/duckstation-qt/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/duckstation-qt/mainwindow.cpp b/src/duckstation-qt/mainwindow.cpp index c59cb1945..2091c2e2d 100644 --- a/src/duckstation-qt/mainwindow.cpp +++ b/src/duckstation-qt/mainwindow.cpp @@ -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)