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

This commit is contained in:
Ismael Gomez 2021-10-07 11:26:25 +02:00
parent 8fff7f6646
commit 9d35c5d018
1 changed files with 2 additions and 2 deletions

View File

@ -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()