mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Merge pull request #744 from srcejon/pipes
Fix crash in pipe garbage collection
This commit is contained in:
commit
e61fffbd28
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
typeId++;
|
||||
typeId = m_typeCount++;
|
||||
m_typeIds.insert(type, typeId);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user