fix live children left behind at destroy
Change-Id: I5c02f27e72635b5cb658a620ead63ff3229c3994
This commit is contained in:
parent
5040e5038c
commit
3e710c27f7
@ -65,7 +65,7 @@ namespace pcr
|
||||
if (nTmpPage)
|
||||
m_nActivePage = nTmpPage;
|
||||
}
|
||||
m_pPropBox.clear();
|
||||
m_pPropBox.disposeAndClear();
|
||||
vcl::Window::dispose();
|
||||
}
|
||||
|
||||
|
@ -155,7 +155,7 @@ namespace frm
|
||||
for (auto i = m_aChildWins.begin(); i != m_aChildWins.end(); ++i)
|
||||
i->disposeAndClear();
|
||||
m_aChildWins.clear();
|
||||
m_pToolbar.clear();
|
||||
m_pToolbar.disposeAndClear();
|
||||
vcl::Window::dispose();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user