1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

Main window: fixed memory leak on m_commandKeyReceiver

This commit is contained in:
f4exb 2018-02-15 10:52:34 +01:00
parent 5f91db13da
commit 5cb9b6ebed

View File

@ -198,8 +198,6 @@ MainWindow::MainWindow(qtwebapp::LoggerWithFile *logger, const MainParser& parse
MainWindow::~MainWindow()
{
m_commandKeyReceiver->deleteLater();
m_apiServer->stop();
delete m_apiServer;
delete m_requestMapper;
@ -213,6 +211,7 @@ MainWindow::~MainWindow()
qDebug() << "MainWindow::~MainWindow: end";
delete m_logger;
delete m_commandKeyReceiver;
}
void MainWindow::addSourceDevice(int deviceIndex)