| 101 | } |
| 102 | |
| 103 | void SessionMgr::RemoveSession(int session_id) |
| 104 | { |
| 105 | if (!_hash_map) { |
| 106 | MTLOG_ERROR("Mngr not init(%p)", _hash_map); |
| 107 | return; |
| 108 | } |
| 109 | |
| 110 | ISession key; |
| 111 | key.SetSessionId(session_id); |
| 112 | return _hash_map->HashRemove(&key); |
| 113 | } |
no test coverage detected