[wesnoth-commits] [wesnoth/wesnoth] 8d06e6: wesnothd: don't let exceptions stop asio's event loop

Sergey Popov noreply at github.com
Tue Oct 26 01:28:49 UTC 2021


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8d06e6f2236e3cc0ad5b33fc212dfb79a3177c40
      https://github.com/wesnoth/wesnoth/commit/8d06e6f2236e3cc0ad5b33fc212dfb79a3177c40
  Author: loonycyborg <loonycyborg at gmail.com>
  Date:   2021-10-26 (Tue, 26 Oct 2021)

  Changed paths:
    M src/server/common/server_base.cpp

  Log Message:
  -----------
  wesnothd: don't let exceptions stop asio's event loop

Generally if we catch exception but continue the loop the player
associated with it would be automatically disconnected either due to
socket_ptr going out of scope or scope_exit calling remove_player().





More information about the Commits mailing list