mirror of https://github.com/PentHertz/srsLTE.git
reset PDCP entities
This commit is contained in:
parent
91492b87ef
commit
716b028023
|
@ -94,6 +94,7 @@ void pdcp::reset()
|
|||
// destroy all bearers
|
||||
pthread_rwlock_wrlock(&rwlock);
|
||||
for (pdcp_map_t::iterator it = pdcp_array.begin(); it != pdcp_array.end(); ++it) {
|
||||
it->second->reset();
|
||||
delete(it->second);
|
||||
pdcp_array.erase(it);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue