mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(ui): delete strata in CSimpleTop dtor
This commit is contained in:
parent
1589466076
commit
23be35bed2
@ -400,6 +400,13 @@ CSimpleTop::CSimpleTop() : CLayoutFrame() {
|
||||
CSimpleTop::~CSimpleTop() {
|
||||
// TODO
|
||||
|
||||
for (auto& strata : this->m_strata) {
|
||||
delete strata;
|
||||
strata = nullptr;
|
||||
}
|
||||
|
||||
// TODO
|
||||
|
||||
this->DisableEvents();
|
||||
|
||||
HandleClose(this->m_screenLayer);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user