MCPcopy Create free account
hub / github.com/catboost/catboost / Cancel

Method Cancel

library/cpp/neh/http2.cpp:597–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595 }
596
597 void Cancel() { //throw std::bad_alloc
598 if (!Canceled_) {
599 Canceled_ = true;
600 Finalized_ = true;
601 OnCancel();
602 AS_.AsyncCancel();
603 }
604 }
605
606 void OnCancel() {
607 THttpRequestRef r(ReleaseRequest());

Callers

nothing calls this directly

Calls 1

AsyncCancelMethod · 0.45

Tested by

no test coverage detected