MCPcopy Create free account
hub / github.com/ddnet/ddnet / Abort

Method Abort

src/engine/client/serverbrowser_http.cpp:168–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168bool CChooseMaster::CJob::Abort()
169{
170 if(!IJob::Abort())
171 {
172 return false;
173 }
174
175 const CLockScope LockScope(m_Lock);
176 if(m_pHead != nullptr)
177 {
178 m_pHead->Abort();
179 }
180
181 if(m_pGet != nullptr)
182 {
183 m_pGet->Abort();
184 }
185
186 return true;
187}
188
189void CChooseMaster::CJob::Run()
190{

Callers 4

ResetMapDownloadMethod · 0.45
ResetDDNetInfoTaskMethod · 0.45
~CChooseMasterMethod · 0.45
~CServerBrowserHttpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected