Only join reorder thread if not disabled

This commit is contained in:
Raymond Knopp
2024-01-23 13:46:41 +01:00
committed by Robert Schmidt
parent 061fd39feb
commit 7639c475bc
+2 -1
View File
@@ -547,7 +547,8 @@ void term_gNB_Tpool(int inst) {
gNB_L1_proc_t *proc = &gNB->proc;
if (!get_softmodem_params()->emulate_l1)
pthread_join(proc->L1_stats_thread, NULL);
pthread_join(proc->pthread_tx_reorder, NULL);
if (!get_softmodem_params()->reorder_thread_disable)
pthread_join(proc->pthread_tx_reorder, NULL);
}
/*!