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