ensure casting playback stops when quitting app

This commit is contained in:
Drew Weymouth
2025-03-29 15:15:13 -07:00
parent ff455528d6
commit 6a7f06769d
3 changed files with 20 additions and 5 deletions
+1 -1
View File
@@ -463,7 +463,7 @@ func (a *App) Shutdown() {
a.WinSMTC.Shutdown()
}
a.PlaybackManager.DisableCallbacks()
a.PlaybackManager.Stop() // will trigger scrobble check
a.PlaybackManager.Shutdown() // will trigger scrobble check
a.cancel()
a.LocalPlayer.Destroy()
}