mirror of https://github.com/PentHertz/srsLTE.git
srsue: stop rx stream after finishing sync thread to avoid deadlock at stop
This commit is contained in:
parent
8fff7f6646
commit
9d35c5d018
|
@ -135,10 +135,10 @@ void sync::stop()
|
|||
}
|
||||
running = false;
|
||||
|
||||
wait_thread_finish();
|
||||
|
||||
// Reset (stop Rx stream) as soon as possible to avoid base-band Rx buffer overflow
|
||||
radio_h->reset();
|
||||
|
||||
wait_thread_finish();
|
||||
}
|
||||
|
||||
void sync::reset()
|
||||
|
|
Loading…
Reference in New Issue