From 911a222ac1cbeac63fc9e10034dc3c22f75af6cc Mon Sep 17 00:00:00 2001 From: Myth Date: Sat, 23 Sep 2023 19:36:42 +0800 Subject: [PATCH] fix: delete networkDetector in ~MainWindow --- mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index b15a637..f82030e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -820,6 +820,8 @@ void MainWindow::cleanUpWhenQuit() MainWindow::~MainWindow() { + delete networkDetector; + if (zjuConnectController != nullptr) { disconnect(zjuConnectController, &ZjuConnectController::finished, this, nullptr);