mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-06-05 12:12:17 +00:00
Fix data race condition
This commit is contained in:
@@ -491,6 +491,7 @@ int GNSSFlowgraph::connect_desktop_flowgraph()
|
||||
}
|
||||
|
||||
// Activate acquisition in enabled channels
|
||||
std::lock_guard<std::mutex> lock(signal_list_mutex_);
|
||||
for (int i = 0; i < channels_count_; i++)
|
||||
{
|
||||
LOG(INFO) << "Channel " << i << " assigned to " << channels_.at(i)->get_signal();
|
||||
|
||||
Reference in New Issue
Block a user