MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / AbortGet

Method AbortGet

netcon/inetfile/Chttpget.cpp:182–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void ChttpGet::AbortGet() {
183#ifdef WIN32
184 OutputDebugString("Aborting....\n");
185#endif
186 m_Aborting = true;
187 while (!m_Aborted)
188 Sleep(50); // Wait for the thread to end
189#ifdef WIN32
190 OutputDebugString("Aborted....\n");
191#endif
192}
193
194ChttpGet::ChttpGet(char *URL, char *localfile, char *proxyip, uint16_t proxyport) {
195 m_ProxyEnabled = true;

Callers

nothing calls this directly

Calls 1

SleepFunction · 0.70

Tested by

no test coverage detected