mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-14 20:31:53 -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()
|
MainWindow::~MainWindow()
|
||||||
{
|
{
|
||||||
m_commandKeyReceiver->deleteLater();
|
|
||||||
|
|
||||||
m_apiServer->stop();
|
m_apiServer->stop();
|
||||||
delete m_apiServer;
|
delete m_apiServer;
|
||||||
delete m_requestMapper;
|
delete m_requestMapper;
|
||||||
@ -213,6 +211,7 @@ MainWindow::~MainWindow()
|
|||||||
|
|
||||||
qDebug() << "MainWindow::~MainWindow: end";
|
qDebug() << "MainWindow::~MainWindow: end";
|
||||||
delete m_logger;
|
delete m_logger;
|
||||||
|
delete m_commandKeyReceiver;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::addSourceDevice(int deviceIndex)
|
void MainWindow::addSourceDevice(int deviceIndex)
|
||||||
|
Loading…
Reference in New Issue
Block a user