Fix data race in the enb::mac::ue metrics object.

master
faluco 3 years ago committed by Andre Puschmann
parent 83b9777220
commit a2c433b228

@ -205,7 +205,10 @@ ue::~ue() {}
void ue::reset()
{
{
std::lock_guard<std::mutex> lock(metrics_mutex);
ue_metrics = {};
}
nof_failures = 0;
for (auto& cc : cc_buffers) {

Loading…
Cancel
Save