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

Method UnRegistSession

adapter/micro_thread/mt_net.cpp:640–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640void CNetHandler::UnRegistSession()
641{
642 if (this->_state_flags & STATE_IN_SESSION)
643 {
644 CNetMgr::Instance()->RemoveNetItem(this);
645 this->_state_flags &= ~STATE_IN_SESSION;
646 }
647}
648
649TNetItemList* CSockLink::GetItemList(int32_t type)
650{

Callers 2

ResetMethod · 0.95
SendRecvMethod · 0.95

Calls 1

RemoveNetItemMethod · 0.80

Tested by

no test coverage detected