mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-12 02:08:45 +00:00
Qt: Fix rare crash during update download
This commit is contained in:
committed by
Connor McLaughlin
parent
59d7a36068
commit
c5604472f6
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user