mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-20 06:20:06 +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([=] {
|
runOnNewThread([=] {
|
||||||
// stop current running
|
// stop current running
|
||||||
if (NekoGui::dataStore->started_id >= 0) {
|
if (NekoGui::dataStore->started_id >= 0) {
|
||||||
runOnUiThread([=] { neko_stop(false, true); });
|
runOnUiThread([=] { neko_stop(false, true, true); });
|
||||||
sem_stopped.acquire();
|
sem_stopped.acquire();
|
||||||
}
|
}
|
||||||
// do start
|
// do start
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user