Skip to content

Commit

Permalink
Don't call deprecated oto.Player's method
Browse files Browse the repository at this point in the history
  • Loading branch information
pwiecz committed Jan 3, 2024
1 parent 248290f commit 3135f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/audio_player.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ func (p *AudioPlayer) Close() {
if p.player == nil {
return
}
p.player.Reset()
p.player.Close()
}

0 comments on commit 3135f88

Please sign in to comment.