feat(ui): delete title region in CSimpleFrame dtor

This commit is contained in:
fallenoak 2026-01-25 14:40:28 -06:00
parent cded0d86e7
commit daba2a1ffd
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -64,13 +64,15 @@ CSimpleFrame::CSimpleFrame(CSimpleFrame* parent) : CScriptRegion() {
} }
CSimpleFrame::~CSimpleFrame() { CSimpleFrame::~CSimpleFrame() {
// TODO
this->m_intAC = 3; this->m_intAC = 3;
this->m_top->UnregisterFrame(this); this->m_top->UnregisterFrame(this);
this->m_top = nullptr; this->m_top = nullptr;
if (this->m_titleRegion) {
delete this->m_titleRegion;
}
// TODO // TODO
} }