mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Abort skin downloads too (fixes #5505)
This commit is contained in:
parent
80e6391525
commit
4733cdc769
|
@ -29,6 +29,11 @@ public:
|
|||
char m_aPath[IO_MAX_PATH_LENGTH];
|
||||
char m_aName[24];
|
||||
|
||||
~CDownloadSkin()
|
||||
{
|
||||
if(m_pTask)
|
||||
m_pTask->Abort();
|
||||
}
|
||||
bool operator<(const CDownloadSkin &Other) const { return str_comp(m_aName, Other.m_aName) < 0; }
|
||||
bool operator<(const char *pOther) const { return str_comp(m_aName, pOther) < 0; }
|
||||
bool operator==(const char *pOther) const { return !str_comp(m_aName, pOther); }
|
||||
|
|
Loading…
Reference in a new issue