Destroy() implies Abort()

This commit is contained in:
Learath 2017-10-17 15:42:17 +02:00
parent 96acddb57f
commit 30aebc9cf4

View file

@ -3640,10 +3640,7 @@ void CClient::RequestDDNetInfo()
}
if(m_pDDNetInfoTask)
{
m_pDDNetInfoTask->Abort();
m_pDDNetInfoTask->Destroy();
}
m_pDDNetInfoTask = Fetcher()->FetchFile(aUrl, "ddnet-info.json.tmp", IStorage::TYPE_SAVE, true, true);
}