WX_CLEAR_LIST in wxHtmlWindow::CleanUpStatics is hard-crashing in wxHtmlWindow::CleanUpStatics, perhaps due to a different cleanup order?? Anyway, switching to .Clear() avoids the crash and does nearly the same. Since it is in code that is called on exit it shouldn't matter either way.
This commit is contained in:
@@ -291,7 +291,7 @@ wxCursor *wxHtmlWindow::ms_cursorDefault = NULL;
|
|||||||
void wxHtmlWindow::CleanUpStatics()
|
void wxHtmlWindow::CleanUpStatics()
|
||||||
{
|
{
|
||||||
wxDELETE(m_DefaultFilter);
|
wxDELETE(m_DefaultFilter);
|
||||||
WX_CLEAR_LIST(wxList, m_Filters);
|
m_Filters.Clear();
|
||||||
if (m_GlobalProcessors)
|
if (m_GlobalProcessors)
|
||||||
WX_CLEAR_LIST(wxHtmlProcessorList, *m_GlobalProcessors);
|
WX_CLEAR_LIST(wxHtmlProcessorList, *m_GlobalProcessors);
|
||||||
wxDELETE(m_GlobalProcessors);
|
wxDELETE(m_GlobalProcessors);
|
||||||
|
Reference in New Issue
Block a user