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