mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +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 |
||
---|---|---|
.. | ||
glfw | ||
js | ||
mobile |