stop player on shutdown to make sure we scrobble any playing/paused track

This commit is contained in:
Drew Weymouth
2022-12-31 09:16:20 -08:00
parent 05ab2ee418
commit 96496b5431
+1
View File
@@ -83,6 +83,7 @@ func (a *App) LoginToDefaultServer() error {
}
func (a *App) Shutdown() {
a.Player.Stop()
a.cancel()
a.Player.Destroy()
}