mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +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