mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Destroy() implies Abort()
This commit is contained in:
parent
96acddb57f
commit
30aebc9cf4
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue