mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Added a destroy virtual method to all source input plugin main classes
This commit is contained in:
@@ -63,6 +63,11 @@ HackRFInput::~HackRFInput()
|
||||
m_deviceAPI->setBuddySharedPtr(0);
|
||||
}
|
||||
|
||||
void HackRFInput::destroy()
|
||||
{
|
||||
delete this;
|
||||
}
|
||||
|
||||
bool HackRFInput::openDevice()
|
||||
{
|
||||
if (m_dev != 0)
|
||||
|
||||
Reference in New Issue
Block a user