ebiten/internal/uidriver/js
Hajime Hoshi 32471af18f uidriver/js: Ensure that the checking-audio loop is finished when the game is finished
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
2020-02-09 03:39:08 +09:00
..
input.go uidriver/js: Implement GamepadSDLID 2020-02-05 00:00:00 +09:00
keys.go input: Refactoring: nameToJSKeyCodes -> nameToJSKeyCode 2019-09-02 00:30:17 +09:00
ui.go uidriver/js: Ensure that the checking-audio loop is finished when the game is finished 2020-02-09 03:39:08 +09:00