1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/client/windows
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
..
settings Refactoring & deduplication of infowindow code 2024-02-26 18:32:15 +02:00
CCastleInterface.cpp Fix possible crash on accessing faction description 2024-05-12 20:24:09 +00:00
CCastleInterface.h
CCreatureWindow.cpp Merge pull request #3759 from Laserlicht/bio 2024-05-07 09:05:14 +02:00
CCreatureWindow.h creature/town biography/description 2024-04-12 23:35:39 +02:00
CHeroBackpackWindow.cpp virtual CWindowObject 2024-04-23 18:58:41 +03:00
CHeroBackpackWindow.h virtual CWindowObject 2024-04-23 18:58:41 +03:00
CHeroOverview.cpp
CHeroOverview.h
CHeroWindow.cpp dismiss hero with fix 2024-04-28 19:01:14 +03:00
CHeroWindow.h virtual CWindowObject 2024-04-23 18:58:41 +03:00
CKingdomInterface.cpp Merge pull request #3759 from Laserlicht/bio 2024-05-07 09:05:14 +02:00
CKingdomInterface.h virtual CWindowObject 2024-04-23 18:58:41 +03:00
CMapOverview.cpp
CMapOverview.h
CMarketWindow.cpp Cosmetic market window fix 2024-05-03 12:36:13 +03:00
CMarketWindow.h virtual CWindowObject 2024-04-23 18:58:41 +03:00
CMessage.cpp Code cleanup 2024-02-27 14:45:15 +02:00
CMessage.h Code formatting 2024-02-26 18:53:12 +02:00
CPuzzleWindow.cpp
CPuzzleWindow.h
CQuestLog.cpp
CQuestLog.h
CreaturePurchaseCard.cpp
CreaturePurchaseCard.h
CSpellWindow.cpp Simplify TextInput constructor 2024-05-15 12:45:45 +00:00
CSpellWindow.h
CTutorialWindow.cpp Added semi-workaround method for network thread shutdown: 2024-05-18 11:04:10 +00:00
CTutorialWindow.h
CWindowObject.cpp virtual CWindowObject 2024-04-23 18:58:41 +03:00
CWindowObject.h virtual CWindowObject 2024-04-23 18:58:41 +03:00
CWindowWithArtifacts.cpp Better handling of Ctrl / Cmd modifier keys on Apple systems: 2024-05-12 17:09:31 +00:00
CWindowWithArtifacts.h class CArtifactsOfHeroMain : public CKeyShortcut 2024-04-27 21:35:38 +03:00
GUIClasses.cpp Added semi-workaround method for network thread shutdown: 2024-05-18 11:04:10 +00:00
GUIClasses.h virtual CWindowObject 2024-04-23 18:58:41 +03:00
InfoWindows.cpp Added semi-workaround method for network thread shutdown: 2024-05-18 11:04:10 +00:00
InfoWindows.h Code cleanup 2024-02-27 14:45:15 +02:00
QuickRecruitmentWindow.cpp
QuickRecruitmentWindow.h