1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-11 10:18:38 -04:00

Merge pull request #744 from srcejon/pipes

Fix crash in pipe garbage collection
This commit is contained in:
Edouard Griffiths
2021-01-08 17:51:55 +01:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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]);
}
}
}
+1 -1
View File
@@ -59,7 +59,7 @@ public:
}
else
{
typeId++;
typeId = m_typeCount++;
m_typeIds.insert(type, typeId);
}