mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 17:55:41 -04:00
Qt: Fix rare crash during update download
Thanks to Silent for debugging.
This commit is contained in:
parent
b4999975db
commit
52bdbf35db
@ -440,6 +440,10 @@ 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…
x
Reference in New Issue
Block a user