mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
32471af18f
After the game loop is finished, any goroutines should not exist. Otherwise, 'Go program has already exited' error can happen on Wasm. This change ensures that the goroutines are finished when the game is finished. Note that time.Sleep was required to ensure that the (*time.Ticker) ends. Fixes #1027 |
||
---|---|---|
.. | ||
input.go | ||
keys.go | ||
ui.go |