Fixes UE crashing when stopping and no cell available

master
Ismael Gomez 6 years ago
parent f46b582c79
commit 2d25661706

@ -324,6 +324,10 @@ void rrc::run_tti(uint32_t tti)
cell_clean_cnt = 0; cell_clean_cnt = 0;
} }
pthread_mutex_unlock(&mutex); pthread_mutex_unlock(&mutex);
// allow other threads to ackquire mutex.
usleep(100);
} // Skip TTI if mutex is locked } // Skip TTI if mutex is locked
} }

Loading…
Cancel
Save