1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Fix disconection of Monitor block

This commit is contained in:
Carles Fernandez 2019-02-14 16:46:16 +01:00
parent 719af13a33
commit 786118a305

View File

@ -839,7 +839,10 @@ void GNSSFlowgraph::disconnect()
for (unsigned int i = 0; i < channels_count_; i++)
{
top_block_->disconnect(observables_->get_right_block(), i, pvt_->get_left_block(), i);
top_block_->disconnect(observables_->get_right_block(), i, GnssSynchroMonitor_, i);
if (enable_monitor_)
{
top_block_->disconnect(observables_->get_right_block(), i, GnssSynchroMonitor_, i);
}
top_block_->msg_disconnect(channels_.at(i)->get_right_block(), pmt::mp("telemetry"), pvt_->get_left_block(), pmt::mp("telemetry"));
}
}