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

Method ReleaseRequest

library/cpp/neh/http2.cpp:368–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366 }
367
368 void ReleaseRequest() noexcept {
369 TWeakPtrB<THttpRequest> tmp;
370 TGuard<TSpinLock> g(SP_);
371 tmp.Swap(Req_);
372 }
373
374 mutable TSpinLock SP_;
375 TWeakPtrB<THttpRequest> Req_;

Callers

nothing calls this directly

Calls 1

SwapMethod · 0.45

Tested by

no test coverage detected