mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
Check consumer exists before sending a message
This commit is contained in:
parent
aafa88ab37
commit
4a3072343d
@ -121,7 +121,8 @@ public:
|
||||
QList<Consumer*>& consumers = cIt.value();
|
||||
|
||||
for (int i = 0; i < consumers.size(); i++) {
|
||||
sendMessageToConsumer(m_elements->operator[](producerKey)[i], producerKey, consumers[i]);
|
||||
if (existsConsumer(consumers[i]))
|
||||
sendMessageToConsumer(m_elements->operator[](producerKey)[i], producerKey, consumers[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user