Added a destroy virtual method to all source input plugin main classes

This commit is contained in:
f4exb
2017-09-15 02:32:30 +02:00
parent a52ac66710
commit 3606ab2cf2
24 changed files with 71 additions and 0 deletions
@@ -60,6 +60,11 @@ BladerfInput::~BladerfInput()
m_deviceAPI->setBuddySharedPtr(0);
}
void BladerfInput::destroy()
{
delete this;
}
bool BladerfInput::openDevice()
{
if (m_dev != 0)