1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/client/mainmenu
Ivan Savenko 9fbeacb688 Fix possible memory corruption in video player
Fixes two bugs, one was definitely happening, and 2nd one that is causing
undefined behavior and may work only in some std implementations

- VideoPlayer would attempt to access subtitles widget after VideoPlayer
itself was destroyed in onPlaybackFinished call
- std::function was destroyed from a function that is being called by
it. Replaced with 1-method interface to avoid usage of std::function in
this scenario
2024-12-07 15:37:03 +00:00
..
CCampaignScreen.cpp chronicles campaign screen 2024-11-11 22:25:54 +01:00
CCampaignScreen.h Added VideoWidget to hide implementation details 2024-05-15 17:05:16 +00:00
CHighScoreScreen.cpp Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
CHighScoreScreen.h Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
CMainMenu.cpp Restored all disabled mod functinality that was used by client 2024-11-26 13:55:46 +00:00
CMainMenu.h code review 2024-09-18 22:10:25 +02:00
CPrologEpilogVideo.cpp Merge pull request #4780 from Laserlicht/text_pos_fix 2024-10-15 18:01:52 +03:00
CPrologEpilogVideo.h Merge branch 'vcmi/master' into 'vcmi/develop' 2024-05-31 09:34:21 +00:00
CreditsScreen.cpp Renamed & unified OBJECT_CONSTRUCTION macro set 2024-08-09 15:30:04 +00:00
CreditsScreen.h Fix credits scrolling 2024-07-20 08:28:35 +00:00
CStatisticScreen.cpp Implemented generation of player-colored version of DiBoxBck 2024-09-12 21:22:41 +00:00
CStatisticScreen.h add horicaontal grid + fixes 2024-08-25 02:21:24 +02:00