ebiten/audio/internal
Hajime Hoshi 2edb286ec4 audio/internal/oboe: Bug fix: Use-after-free of a player
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
2021-05-16 02:21:00 +09:00
..
convert audio/internal/convert: Avoid unnecessary allocations 2021-01-25 03:04:53 +09:00
go2cpp audio/internal/go2cpp: Simplify reading the source 2021-05-10 04:00:58 +09:00
oboe audio/internal/oboe: Bug fix: Use-after-free of a player 2021-05-16 02:21:00 +09:00
readerdriver audio/internal/readerdriver: Refactoring 2021-05-16 02:08:33 +09:00