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

Method DoDestroy

library/cpp/coroutine/engine/sockpool.h:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void DoDestroy() noexcept {
30 if (!Closed() && IsKeepAlive() && IsInGoodState()) {
31 ReturnToPool();
32 } else {
33 delete this;
34 }
35 }
36
37 bool IsKeepAlive() const noexcept {
38 return IsKeepAlive_;

Callers 1

DestroyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected