1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/docs/players
Ivan Savenko 9bfe000724 Added semi-workaround method for network thread shutdown:
Currently closing game while network thread is waiting for something is
very bug-prone, since network thread may resume during shutdown and
access partially destroyed client state.

Now if exit has been requested, the very first step would be semi-
graceful shutdown of network thread (via exception throwing). This may
in theory skip some cleanup in non-RAII code, but since game is shutting
down this does not matters much.

This logic applies to:
- shutting down while network thread is waiting for dialogs
- shuttind down while network thread waiting for animations in combat
2024-05-18 11:04:10 +00:00
..
Bug_Reporting_Guidelines.md update docs 2024-05-06 00:46:21 +02:00
Cheat_Codes.md Added semi-workaround method for network thread shutdown: 2024-05-18 11:04:10 +00:00
Game_Mechanics.md update docs 2024-05-06 00:46:21 +02:00
Installation_Android.md update docs 2024-05-06 00:46:21 +02:00
Installation_iOS.md update docs 2024-05-06 00:46:21 +02:00
Installation_Linux.md update docs 2024-05-06 00:46:21 +02:00
Installation_macOS.md update docs 2024-05-06 00:46:21 +02:00
Installation_Windows.md update docs 2024-05-06 00:46:21 +02:00
Privacy_Policy.md update docs 2024-05-06 00:46:21 +02:00