mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
fix: Fix stop profile not saving started_id
This commit is contained in:
parent
3271a13f4c
commit
bee6b0958e
@ -317,7 +317,7 @@ void MainWindow::neko_start(int _id) {
|
||||
runOnNewThread([=] {
|
||||
// stop current running
|
||||
if (NekoGui::dataStore->started_id >= 0) {
|
||||
runOnUiThread([=] { neko_stop(false, true); });
|
||||
runOnUiThread([=] { neko_stop(false, true, true); });
|
||||
sem_stopped.acquire();
|
||||
}
|
||||
// do start
|
||||
|
||||
Loading…
Reference in New Issue
Block a user