Skip to content

Commit

Permalink
Fix crash on close with client running
Browse files Browse the repository at this point in the history
  • Loading branch information
kraxarn committed Nov 16, 2024
1 parent 1c066f3 commit a6907d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spotifyclient/runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ SpotifyClient::Runner::~Runner()
{
if (process != nullptr)
{
process->close();
process->terminate();
process->waitForFinished();
}
}

Expand Down

0 comments on commit a6907d5

Please sign in to comment.