Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wesnothd: fix prematurely adding new players to games_and_users_list_
If dc happens during asio read that would call server::add_player then a "ghost" player will appear in games_and_users_list_. Fix works by moving the list update into the handler, it will be called only if read is successful. This should prevent issue #2989 unless it has some other mechanism (cherry-picked from commit 787a1a0)
- Loading branch information