mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-09 16:18:22 +03:00
feat(ui): delete strata in CSimpleTop dtor
This commit is contained in:
1 file changed
+7
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user