mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 08:24:43 -04:00
Added a destroy virtual method to all source input plugin main classes
This commit is contained in:
@@ -58,6 +58,11 @@ PlutoSDRInput::~PlutoSDRInput()
|
||||
resumeBuddies();
|
||||
}
|
||||
|
||||
void PlutoSDRInput::destroy()
|
||||
{
|
||||
delete this;
|
||||
}
|
||||
|
||||
bool PlutoSDRInput::start()
|
||||
{
|
||||
if (!m_deviceShared.m_deviceParams->getBox()) {
|
||||
|
||||
@@ -76,6 +76,7 @@ public:
|
||||
|
||||
PlutoSDRInput(DeviceSourceAPI *deviceAPI);
|
||||
~PlutoSDRInput();
|
||||
virtual void destroy();
|
||||
|
||||
virtual bool start();
|
||||
virtual void stop();
|
||||
|
||||
Reference in New Issue
Block a user