srsue: stop rx stream after finishing sync thread to avoid deadlock at stop

master
Ismael Gomez 3 years ago
parent 8fff7f6646
commit 9d35c5d018

@ -135,10 +135,10 @@ void sync::stop()
} }
running = false; running = false;
wait_thread_finish();
// Reset (stop Rx stream) as soon as possible to avoid base-band Rx buffer overflow // Reset (stop Rx stream) as soon as possible to avoid base-band Rx buffer overflow
radio_h->reset(); radio_h->reset();
wait_thread_finish();
} }
void sync::reset() void sync::reset()

Loading…
Cancel
Save