Set wxPendingEvents to NULL after deletion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-04-13 22:54:32 +00:00
parent a24ce8f811
commit 824d857df1
2 changed files with 2 additions and 0 deletions

View File

@@ -678,6 +678,7 @@ void wxApp::CleanUp()
delete wxWinMacControlList ;
}
delete wxPendingEvents;
wxPendingEvents = NULL;
#if wxUSE_THREADS
delete wxPendingEventsLocker;

View File

@@ -678,6 +678,7 @@ void wxApp::CleanUp()
delete wxWinMacControlList ;
}
delete wxPendingEvents;
wxPendingEvents = NULL;
#if wxUSE_THREADS
delete wxPendingEventsLocker;