1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +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-02-19 16:49:59 +02:00
2024-04-23 18:58:41 +03:00
2024-04-23 18:58:41 +03:00
2023-09-17 23:01:18 +02:00
2024-04-28 19:01:14 +03:00
2024-04-23 18:58:41 +03:00
2024-04-23 18:58:41 +03:00
2024-05-03 12:36:13 +03:00
2024-04-23 18:58:41 +03:00
2024-02-27 14:45:15 +02:00
2024-02-26 18:53:12 +02:00
2023-12-08 22:52:34 +01:00
2023-11-16 23:03:41 +01:00
2024-04-23 18:58:41 +03:00
2024-04-23 18:58:41 +03:00
2024-04-23 18:58:41 +03:00
2024-02-27 14:45:15 +02:00