mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
2edb286ec4
In theory, a closed player was used unexpectedly by these steps: 1. Suspend is called by switching the application 2. Player_Close is called 3. Resume is called by reactivating the application The set of GetPlayersToResume() had a closed player and the trying to play it caused the use-after-free problem. This changes fixes the issue by removing the player from the set of GetPlayerToResume() when closing it. iOS version already has the logic to remove the player appropriately. Updates #1645 Closes #1646 |
||
---|---|---|
.. | ||
internal | ||
mp3 | ||
vorbis | ||
wav | ||
audio_test.go | ||
audio.go | ||
buffersize_js.go | ||
buffersize_mobile.go | ||
buffersize_notmobile.go | ||
export_test.go | ||
loop_test.go | ||
loop.go | ||
otodriver.go | ||
readerplayer.go | ||
writerplayer.go |