mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-12 11:26:11 -05:00
Main window: fixed memory leak on m_commandKeyReceiver
This commit is contained in:
parent
5f91db13da
commit
5cb9b6ebed
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user