mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
audio/internal/go2cpp: Remove unnecessary set
This commit is contained in:
parent
193628798a
commit
a66097df19
@ -47,8 +47,6 @@ func (c *Context) NewPlayer(r io.Reader) *Player {
|
|||||||
}
|
}
|
||||||
runtime.SetFinalizer(p, (*Player).Close)
|
runtime.SetFinalizer(p, (*Player).Close)
|
||||||
|
|
||||||
p.v.Set("onWritten", p.onWritten)
|
|
||||||
|
|
||||||
go p.loop()
|
go p.loop()
|
||||||
return p
|
return p
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user