mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 18:52:44 +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.v.Call("close")
|
||||||
p.err = err
|
p.err = err
|
||||||
p.state = playerStateError
|
p.state = playerStateClosed
|
||||||
p.cond.Signal()
|
p.cond.Signal()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user