1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-15 13:33:36 +02:00
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
..
2024-03-24 09:32:54 +02:00
2023-04-17 00:43:13 +03:00
2022-09-22 11:54:09 +03:00
2023-04-17 00:43:13 +03:00
2023-06-03 00:48:32 +03:00
2023-11-01 14:44:05 +02:00
2024-03-29 07:48:52 +02:00