mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
feat(ui): delete frames in CSimpleTop dtor
This commit is contained in:
parent
23be35bed2
commit
4e9ea8f5a1
@ -400,6 +400,11 @@ CSimpleTop::CSimpleTop() : CLayoutFrame() {
|
|||||||
CSimpleTop::~CSimpleTop() {
|
CSimpleTop::~CSimpleTop() {
|
||||||
// TODO
|
// TODO
|
||||||
|
|
||||||
|
while (auto frame = this->m_frames.Head()) {
|
||||||
|
this->m_frames.UnlinkNode(frame);
|
||||||
|
delete frame;
|
||||||
|
}
|
||||||
|
|
||||||
for (auto& strata : this->m_strata) {
|
for (auto& strata : this->m_strata) {
|
||||||
delete strata;
|
delete strata;
|
||||||
strata = nullptr;
|
strata = nullptr;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user