mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 15:34:57 -04:00
Rotator controller and dependent plugins: implemented new message pipes and other fixes. Part of #1154
This commit is contained in:
@@ -28,10 +28,16 @@ ObjectPipe::ObjectPipe() :
|
||||
|
||||
void ObjectPipe::setToBeDeleted(int reason, QObject *object)
|
||||
{
|
||||
qDebug("ObjectPipe::setToBeDeleted: %d (%p)", reason, object);
|
||||
m_gcCount = 2; // will defer actual deletion by one GC pass
|
||||
emit toBeDeleted(reason, object);
|
||||
}
|
||||
|
||||
void ObjectPipe::unsetToBeDeleted()
|
||||
{
|
||||
m_gcCount = 0;
|
||||
}
|
||||
|
||||
int ObjectPipe::getGCCount() const {
|
||||
return m_gcCount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user