From a7c45f512fa64bf629349e33e69a5559562b3c33 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Tue, 13 Sep 2022 17:04:51 +0100 Subject: [PATCH] Stop status timer, so updateTimer isn't called on deleted objects --- sdrgui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sdrgui/mainwindow.cpp b/sdrgui/mainwindow.cpp index f87e201c5..c0b133cf1 100644 --- a/sdrgui/mainwindow.cpp +++ b/sdrgui/mainwindow.cpp @@ -245,6 +245,7 @@ MainWindow::~MainWindow() { qDebug() << "MainWindow::~MainWindow"; + m_statusTimer.stop(); m_mainCore->m_settings.save(); m_apiServer->stop(); delete m_apiServer;