Use-after-free when a click handler deletes its owning mode mid-loop
@icybawss▲ 0 net votes
SpriteManager::HandleTouchInput iterated the sprite list and kept going after a clickable's OnClick fired. That handler called ChangeMode, which deletes the whole SongSelect including the sprites still being iterated. The fix is to return immediately once a click fires. The bug stayed latent until a new allocation pattern changed timing.