1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-25 04:53:27 -04:00

Data pipes redesign (2)

This commit is contained in:
f4exb
2022-02-21 02:18:51 +01:00
parent c678b40988
commit adfaac1545
6 changed files with 40 additions and 12 deletions
+2 -2
View File
@@ -26,10 +26,10 @@ ObjectPipe::ObjectPipe() :
m_gcCount(0)
{}
void ObjectPipe::setToBeDeleted(int reason)
void ObjectPipe::setToBeDeleted(int reason, QObject *object)
{
m_gcCount = 2; // will defer actual deletion by one GC pass
emit toBeDeleted(reason);
emit toBeDeleted(reason, object);
}
int ObjectPipe::getGCCount() const {