git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46106
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxPendingEventsLocker = new wxCriticalSection;
#endif
wxPendingEventsLocker = new wxCriticalSection;
#endif
- //create port specific main loop
+ // create port-specific main loop
m_mainLoop = CreateMainLoop();
#ifndef __WXPALMOS__
m_mainLoop = CreateMainLoop();
#ifndef __WXPALMOS__
void wxAppConsole::CleanUp()
{
void wxAppConsole::CleanUp()
{
+ delete m_mainLoop;
+ m_mainLoop = NULL;
+
delete wxPendingEvents;
wxPendingEvents = NULL;
delete wxPendingEvents;
wxPendingEvents = NULL;