mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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 {
|
if err := d.source.Close(); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
d.decoder = nil
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user