mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
audio/internal/go2cpp: Bug fix: Wrong state
This commit is contained in:
parent
04539b9d05
commit
dc8217dfeb
@ -134,7 +134,7 @@ func (p *Player) setError(err error) {
|
||||
|
||||
p.v.Call("close")
|
||||
p.err = err
|
||||
p.state = playerStateError
|
||||
p.state = playerStateClosed
|
||||
p.cond.Signal()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user