mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Stopping the uhd source saves a crash on exit
This commit is contained in:
parent
eb74cbc737
commit
71a0b07e09
@ -254,6 +254,7 @@ void UhdSignalSource::connect(gr::top_block_sptr top_block)
|
||||
|
||||
void UhdSignalSource::disconnect(gr::top_block_sptr top_block)
|
||||
{
|
||||
uhd_source_->stop();
|
||||
for (int i = 0; i < RF_channels_; i++)
|
||||
{
|
||||
if (samples_.at(i) != 0ULL)
|
||||
|
Loading…
Reference in New Issue
Block a user