audio/internal/go2cpp: Bug fix: Wrong state

This commit is contained in:
Hajime Hoshi 2021-01-11 15:25:53 +09:00
parent 04539b9d05
commit dc8217dfeb

View File

@ -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()
}