feat(ui): delete frames in CSimpleTop dtor

This commit is contained in:
fallenoak 2026-01-25 13:40:19 -06:00
parent 23be35bed2
commit 4e9ea8f5a1
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -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;