mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix rare crash during update download
This commit is contained in:
parent
59d7a36068
commit
c5604472f6
|
@ -503,6 +503,11 @@ void AutoUpdaterDialog::downloadUpdateClicked()
|
||||||
},
|
},
|
||||||
&progress);
|
&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.
|
// Block until completion.
|
||||||
while (m_http->HasAnyRequests())
|
while (m_http->HasAnyRequests())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue