Delete the timer on close in the wxWebView sample. Fixes another memory leak.
See #13500 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -360,6 +360,7 @@ WebFrame::WebFrame() : wxFrame(NULL, wxID_ANY, "wxWebView Sample")
|
|||||||
|
|
||||||
WebFrame::~WebFrame()
|
WebFrame::~WebFrame()
|
||||||
{
|
{
|
||||||
|
delete m_timer;
|
||||||
delete m_tools_menu;
|
delete m_tools_menu;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user