Fixed an issue that WebParser causes an infinite loop of downloading in some cases when FinishAction contains !RainmeterUpdate.

This commit is contained in:
spx 2011-01-07 08:18:20 +00:00
parent 89ea706055
commit e246e6d6bf

View File

@ -761,7 +761,7 @@ double Update2(UINT id)
if (urlData->url.size() > 0 && urlData->url.find(L'[') == std::wstring::npos)
{
// This is not a reference; need to update.
if (urlData->threadHandle == 0)
if (urlData->threadHandle == 0 && urlData->dlThreadHandle == 0)
{
if (urlData->updateCounter == 0)
{