If some row widgets of VerticalLayout are living in its own lifetime() we have a use-after-free. Because this lifetime() destroys this child row already after ~VerticalLayout which can call back into VerticalLayout::childHeightUpdated (the subscription lives inside the same lifetime() as well) which will access _rows member that was already destroyed. Now all subscriptions die before _rows are destroyed. |
||
|---|---|---|
| .. | ||
| fade_wrap.cpp | ||
| fade_wrap.h | ||
| padding_wrap.cpp | ||
| padding_wrap.h | ||
| slide_wrap.cpp | ||
| slide_wrap.h | ||
| vertical_layout.cpp | ||
| vertical_layout.h | ||
| vertical_layout_reorder.cpp | ||
| vertical_layout_reorder.h | ||
| wrap.h | ||