mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
audio/vorbis: Unretain the Ogg decoder on Close (#733)
This commit is contained in:
parent
eda8d61413
commit
feca647087
@ -157,6 +157,7 @@ func (d *decoded) Close() error {
|
||||
if err := d.source.Close(); err != nil {
|
||||
return err
|
||||
}
|
||||
d.decoder = nil
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user