MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ~TcpKeepMgr

Method ~TcpKeepMgr

adapter/micro_thread/mt_connection.cpp:477–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477TcpKeepMgr::~TcpKeepMgr()
478{
479 if (!_keep_hash) {
480 return;
481 }
482
483 HashKey* hash_item = _keep_hash->HashGetFirst();
484 while (hash_item)
485 {
486 delete hash_item;
487 hash_item = _keep_hash->HashGetFirst();
488 }
489
490 delete _keep_hash;
491 _keep_hash = NULL;
492}
493
494TcpKeepConn* TcpKeepMgr::GetTcpKeepConn(struct sockaddr_in* dst)
495{

Callers

nothing calls this directly

Calls 1

HashGetFirstMethod · 0.80

Tested by

no test coverage detected