MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / ~PooledTCPSocketStream

Method ~PooledTCPSocketStream

net/pooled_socket.cpp:257–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255};
256
257PooledTCPSocketStream::~PooledTCPSocketStream() {
258 if (drop || !pool->release(ep, m_underlay)) {
259 delete m_underlay;
260 }
261}
262
263extern "C" ISocketClient* new_tcp_socket_pool(ISocketClient* client, uint64_t TTL_us, bool client_ownership) {
264 return new TCPSocketPool(client, TTL_us, client_ownership);

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected