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

Method ~ISession

adapter/micro_thread/mt_session.cpp:31–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29using namespace NS_MICRO_THREAD;
30
31ISession::~ISession()
32{
33 if (_session_flg) {
34 SessionMgr* sessionmgr = SessionMgr::Instance();
35 sessionmgr->RemoveSession(_session_id);
36 _session_flg = (int)SESSION_IDLE;
37 }
38}
39
40SessionMgr* SessionMgr::_instance = NULL;
41SessionMgr* SessionMgr::Instance (void)

Callers

nothing calls this directly

Calls 1

RemoveSessionMethod · 0.80

Tested by

no test coverage detected