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