[wesnoth-commits] [wesnoth/wesnoth] 137a51: Wesnothd Connection: catch all exceptions thrown i...
Charles Dang
noreply at github.com
Thu Feb 11 01:46:09 UTC 2021
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 137a51158611f199d04543e98fda714bc37217ce
https://github.com/wesnoth/wesnoth/commit/137a51158611f199d04543e98fda714bc37217ce
Author: Charles Dang <exodia339 at gmail.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M src/wesnothd_connection.cpp
Log Message:
-----------
Wesnothd Connection: catch all exceptions thrown in the worker thread
This ensures a stray uncaught exception doesn't crash the game, since if an std::thread exists due to an exception, std::terminate is called.
More information about the Commits
mailing list