Skip to content

Commit

Permalink
Revert "WX_CLEAR_LIST in wxHtmlWindow::CleanUpStatics is hard-crashing"
Browse files Browse the repository at this point in the history
The issue was an incorrect ownership transfer in wxPython.

This reverts commit b2ae25f.
  • Loading branch information
RobinD42 committed Oct 26, 2016
1 parent 60aa5d8 commit 107d655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/html/htmlwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ wxCursor *wxHtmlWindow::ms_cursorDefault = NULL;
void wxHtmlWindow::CleanUpStatics()
{
wxDELETE(m_DefaultFilter);
m_Filters.Clear();
WX_CLEAR_LIST(wxList, m_Filters);
if (m_GlobalProcessors)
WX_CLEAR_LIST(wxHtmlProcessorList, *m_GlobalProcessors);
wxDELETE(m_GlobalProcessors);
Expand Down

0 comments on commit 107d655

Please sign in to comment.