From c5604472f6e08947c49ef2b7997dda5edf442579 Mon Sep 17 00:00:00 2001 From: Silent Date: Tue, 23 Apr 2024 11:33:01 +0200 Subject: [PATCH] Qt: Fix rare crash during update download --- pcsx2-qt/AutoUpdaterDialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pcsx2-qt/AutoUpdaterDialog.cpp b/pcsx2-qt/AutoUpdaterDialog.cpp index 9085a72621..9a94344b1c 100644 --- a/pcsx2-qt/AutoUpdaterDialog.cpp +++ b/pcsx2-qt/AutoUpdaterDialog.cpp @@ -503,6 +503,11 @@ void AutoUpdaterDialog::downloadUpdateClicked() }, &progress); + + // Since we're going to block, don't allow the timer to poll, otherwise the progress callback can cause the timer to + // run, and recursively poll again. + m_http_poll_timer->stop(); + // Block until completion. while (m_http->HasAnyRequests()) {