reset PDCP entities

This commit is contained in:
Andre Puschmann 2018-08-06 15:48:52 +02:00
parent 91492b87ef
commit 716b028023
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}