Storing eNB ctx info

master
Pedro Alvarez 7 years ago
parent 841f38fac0
commit b9aff650a7

@ -98,11 +98,11 @@ mme::stop()
{ {
if(m_running) if(m_running)
{ {
m_s1ap.stop();
m_running = false; m_running = false;
thread_cancel(); thread_cancel();
wait_thread_finish(); wait_thread_finish();
} }
m_s1ap.stop();
return; return;
} }

@ -62,7 +62,7 @@ s1ap::stop()
std::map<uint16_t,enb_ctx_t*>::iterator it = m_active_enbs.begin(); std::map<uint16_t,enb_ctx_t*>::iterator it = m_active_enbs.begin();
while(it!=m_active_enbs.end()) while(it!=m_active_enbs.end())
{ {
print_enb_ctx_info(*it->second); //print_enb_ctx_info(*it->second);
delete it->second; delete it->second;
m_active_enbs.erase(it++); m_active_enbs.erase(it++);
} }

Loading…
Cancel
Save