MCPcopy Create free account
hub / github.com/beefytech/Beef / ~NetRequest

Method ~NetRequest

IDEHelper/NetManager.cpp:420–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418#endif
419
420NetRequest::~NetRequest()
421{
422 Cleanup();
423 // This is synchronized
424 if (mResult != NULL)
425 {
426 mResult->mFailed = mFailed;
427 mResult->mError = mError;
428 mResult->mCurRequest = NULL;
429 if (mResult->mDoneEvent != NULL)
430 {
431 mResult->mDoneEvent->Set(true);
432 BF_ASSERT(!mResult->mRemoved);
433 }
434 if (mResult->mRemoved)
435 delete mResult;
436 }
437
438 mNetManager->mRequestDoneEvent.Set();
439}
440
441void NetRequest::Fail(const StringImpl& error)
442{

Callers

nothing calls this directly

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected