Set wxPendingEvents to NULL after deleting it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2003-04-13 21:08:39 +00:00
parent 7af64aace1
commit 70ddb200c1
2 changed files with 2 additions and 0 deletions

View File

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

View File

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