Skip to content

Commit

Permalink
audio/vorbis: Unretain the Ogg decoder on Close (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimehoshi committed Nov 8, 2018
1 parent eda8d61 commit feca647
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions audio/vorbis/vorbis.go
Expand Up @@ -157,6 +157,7 @@ func (d *decoded) Close() error {
if err := d.source.Close(); err != nil {
return err
}
d.decoder = nil
return nil
}

Expand Down

0 comments on commit feca647

Please sign in to comment.