Skip to content

Commit

Permalink
[C-2566] Prevent player error on skip (#3327)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers authored May 4, 2023
1 parent ca246f9 commit b9ddae1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/web/src/services/audio-player/AudioPlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ export class AudioPlayer {
this.stop()
const prevVolume = this.audio.volume
if (this.audio) {
this.audio.src = ''
this.audio.remove()
}
this.audio = new Audio()
Expand Down

0 comments on commit b9ddae1

Please sign in to comment.