mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-26 03:11:21 +08:00
fix traffic save on exit
This commit is contained in:
parent
415d7d3866
commit
6d384b08ea
@ -784,6 +784,7 @@ void MainWindow::prepare_exit()
|
|||||||
//
|
//
|
||||||
on_commitDataRequest();
|
on_commitDataRequest();
|
||||||
//
|
//
|
||||||
|
if (running) running->Save();
|
||||||
NekoGui::dataStore->save_control_no_save = true; // don't change datastore after this line
|
NekoGui::dataStore->save_control_no_save = true; // don't change datastore after this line
|
||||||
NekoGui_rpc::defaultClient->Exit();
|
NekoGui_rpc::defaultClient->Exit();
|
||||||
mu_exit.unlock();
|
mu_exit.unlock();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user