fix: Fix stop profile not saving started_id

This commit is contained in:
Nova 2024-09-01 02:40:01 +03:30
parent 3271a13f4c
commit bee6b0958e
No known key found for this signature in database
GPG Key ID: 389787EC83F5D73A

View File

@ -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