mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-30 23:03:05 +00:00 
			
		
		
		
	Stopping the uhd source saves a crash on exit
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez