From 6d384b08eac494c797a0f09b7db9b8c24da34c84 Mon Sep 17 00:00:00 2001 From: Nova Date: Tue, 8 Jul 2025 17:44:46 +0330 Subject: [PATCH] fix traffic save on exit --- src/ui/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index bd49f5b..330c134 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -784,6 +784,7 @@ void MainWindow::prepare_exit() // on_commitDataRequest(); // + if (running) running->Save(); NekoGui::dataStore->save_control_no_save = true; // don't change datastore after this line NekoGui_rpc::defaultClient->Exit(); mu_exit.unlock();