1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-10 00:43:59 +02:00
vcmi/client/widgets
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
..
markets Replaced public artType member of ArtifactInstance with getter 2024-10-30 16:47:01 +00:00
Buttons.cpp fix warning 2024-11-30 17:20:39 +01:00
Buttons.h
CArtifactsOfHeroAltar.cpp suggested changes 2024-10-28 21:58:35 +02:00
CArtifactsOfHeroAltar.h
CArtifactsOfHeroBackpack.cpp Replaced public artType member of ArtifactInstance with getter 2024-10-30 16:47:01 +00:00
CArtifactsOfHeroBackpack.h
CArtifactsOfHeroBase.cpp crash fix: dismiss hero when pick artifact 2024-11-26 01:11:09 +08:00
CArtifactsOfHeroBase.h suggested changes 2024-10-28 21:58:35 +02:00
CArtifactsOfHeroKingdom.cpp suggested changes 2024-10-28 21:58:35 +02:00
CArtifactsOfHeroKingdom.h
CArtifactsOfHeroMain.cpp crash fix: dismiss hero when pick artifact 2024-11-26 01:11:09 +08:00
CArtifactsOfHeroMain.h
CArtifactsOfHeroMarket.cpp crash fixed 2024-11-13 06:39:37 +02:00
CArtifactsOfHeroMarket.h suggested changes 2024-10-28 21:58:35 +02:00
CComponent.cpp
CComponent.h
CComponentHolder.cpp CHeroOverview secondary skill icons fixed 2024-11-03 17:29:27 +02:00
CComponentHolder.h CSecSkillPlace done 2024-10-23 15:01:56 +03:00
CExchangeController.cpp Add extra clientside sanity check (should be there from thestart) 2024-12-03 21:03:25 +01:00
CExchangeController.h
CGarrisonInt.cpp fix popup 2024-11-21 23:12:27 +01:00
CGarrisonInt.h
ComboBox.cpp
ComboBox.h
CreatureCostBox.cpp
CreatureCostBox.h
CTextInput.cpp
CTextInput.h
GraphicalPrimitiveCanvas.cpp
GraphicalPrimitiveCanvas.h
Images.cpp Do not show selection highlight on creature preview images 2024-11-17 20:40:38 +00:00
Images.h
IVideoHolder.h Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
MiscWidgets.cpp Merge pull request #4852 from IvanSavenko/remove_vlc_entities_serialization 2024-11-06 22:01:11 +02:00
MiscWidgets.h
ObjectLists.cpp better approach for scrollbar 2024-11-02 15:16:38 +01:00
ObjectLists.h
RadialMenu.cpp
RadialMenu.h
Scrollable.cpp
Scrollable.h
Slider.cpp
Slider.h
TextControls.cpp
TextControls.h
VideoWidget.cpp Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00
VideoWidget.h Fix possible memory corruption in video player 2024-12-07 15:37:03 +00:00