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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user