Skip to content

Commit

Permalink
fix: delete networkDetector in ~MainWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mythologyli committed Sep 23, 2023
1 parent ae73c4a commit 911a222
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,8 @@ void MainWindow::cleanUpWhenQuit()

MainWindow::~MainWindow()
{
delete networkDetector;

if (zjuConnectController != nullptr)
{
disconnect(zjuConnectController, &ZjuConnectController::finished, this, nullptr);
Expand Down

0 comments on commit 911a222

Please sign in to comment.