mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32: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() {
|
||||
// TODO
|
||||
|
||||
while (auto frame = this->m_frames.Head()) {
|
||||
this->m_frames.UnlinkNode(frame);
|
||||
delete frame;
|
||||
}
|
||||
|
||||
for (auto& strata : this->m_strata) {
|
||||
delete strata;
|
||||
strata = nullptr;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user